Buid: Export CI to get rid of nasty characters

This commit is contained in:
Ilija Lazoroski 2022-08-17 14:52:17 +02:00 committed by Mike Salvatore
parent a96efcdc7d
commit 8355d9e68a
2 changed files with 2 additions and 0 deletions

View File

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

View File

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