Skip to content

Commit

Permalink
Add default value to Dockerfile ARG
Browse files Browse the repository at this point in the history
  • Loading branch information
javibu13 committed Dec 11, 2023
1 parent d4545c3 commit a3ce4ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devops/mn_manager/Dockerfile.mn_manager
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ENV CONFIG_FILE_PATH=/code/devops/config_params.yaml

ARG CACHE=1
RUN pip install --upgrade pip
ARG test_pypi_flag
ARG test_pypi_flag=""
RUN pip install --upgrade ${test_pypi_flag} wattrex-mn-manager
ADD ./devops/mn_manager/run.py /code/devops/mn_manager/run.py

Expand Down
2 changes: 1 addition & 1 deletion devops/web_server/Dockerfile.web_server
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG CACHE=1
ADD ./venv/web_server/requirements.txt /code/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
ARG test_pypi_flag
ARG test_pypi_flag=""
RUN pip install --upgrade ${test_pypi_flag} wattrex-mn-manager
# The following line is needed to avoid a bug in mysql-connector-python installed by wattrex-mn-manager
RUN pip install --upgrade mysql-connector-python==8.0.26
Expand Down

0 comments on commit a3ce4ca

Please sign in to comment.