From be946ae94b9477052d80dce7b53d9ee6943f762f Mon Sep 17 00:00:00 2001 From: sambles Date: Mon, 11 Nov 2024 10:39:12 +0000 Subject: [PATCH] add pip install env override (#188) --- docker/Dockerfile.piwind_server | 1 + docker/Dockerfile.piwind_worker | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.piwind_server b/docker/Dockerfile.piwind_server index ec4d49b6..c6db0333 100644 --- a/docker/Dockerfile.piwind_server +++ b/docker/Dockerfile.piwind_server @@ -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=' ARG ods_package diff --git a/docker/Dockerfile.piwind_worker b/docker/Dockerfile.piwind_worker index fc877f30..3e8a9a58 100644 --- a/docker/Dockerfile.piwind_worker +++ b/docker/Dockerfile.piwind_worker @@ -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=' ARG ods_package