Skip to content

Commit

Permalink
add pip install env override (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Nov 26, 2024
1 parent d5cd8df commit a0a6d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/Dockerfile.piwind_server
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RUN apt-get update && apt-get -y install git python3-pip && rm -rf /var/lib/apt/

COPY --chown=server:server $ods_package ./
USER server
ENV PIP_BREAK_SYSTEM_PACKAGES 1

# Install ods_tools from package file (Optional) 'docker build --build-arg ods_package=<whl>'
ARG ods_package
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.piwind_worker
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENTRYPOINT ./startup.sh

COPY $ods_package ./
COPY $oasislmf_package ./

ENV PIP_BREAK_SYSTEM_PACKAGES 1

# Install ods_tools from package file (Optional) 'docker build --build-arg ods_package=<whl>'
ARG ods_package
Expand Down

0 comments on commit a0a6d5f

Please sign in to comment.