Merge pull request #2203 from guardicore/build-downgrade-pipenv

Build: Downgrade pipenv to use 2022.7.4
This commit is contained in:
Mike Salvatore 2022-08-17 09:01:07 -04:00 committed by GitHub
commit 8b32e6d7a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,8 @@ install_monkey_island_python_dependencies() {
log_message "Installing island requirements"
log_message "Installing pipenv"
"$APPDIR"/AppRun -m pip install pipenv || handle_error
"$APPDIR"/AppRun -m pip install pipenv==2022.7.4 || handle_error
export CI=1
log_message "Installing dependencies"
pushd "$BUILD_DIR/monkey_island" || handle_error

View File

@ -4,9 +4,10 @@ FROM bitnami/python:3.7 as builder
COPY ./monkey /monkey
WORKDIR /monkey
RUN virtualenv .
RUN export CI=1
RUN . bin/activate && \
cd monkey_island && \
pip install pipenv && \
pip install pipenv==2022.7.4 && \
pipenv sync