From 3328da2af5ebc99efeeeeba0b910a42fc86e4ba4 Mon Sep 17 00:00:00 2001 From: Marcus Kok Date: Thu, 12 Dec 2024 15:35:34 -0500 Subject: [PATCH] update downstream dockerfile --- Dockerfile.downstream | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.downstream b/Dockerfile.downstream index b9bcc6983b..8122c7b57f 100644 --- a/Dockerfile.downstream +++ b/Dockerfile.downstream @@ -62,7 +62,7 @@ RUN set -ex\ ; microdnf -y clean all WORKDIR /build RUN python3 -m ensurepip --upgrade -COPY requirements.txt . +COPY requirements-cache.txt . # Note that it installs into PYTHONUSERBASE because of the '--user' # flag. @@ -78,8 +78,8 @@ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true ENV GRPC_PYTHON_BUILD_SYSTEM_OPENSSL 1 RUN set -ex\ - ; python3 -m pip install --no-cache-dir --progress-bar off --user $(grep -e '^pip=' -e '^wheel=' -e '^setuptools=' ./requirements.txt) \ - ; python3 -m pip install --no-cache-dir --progress-bar off --user --requirement requirements.txt \ + ; python3 -m pip install --no-cache-dir --progress-bar off --user $(grep -e '^pip=' -e '^wheel=' -e '^setuptools=' ./requirements-cache.txt) \ + ; python3 -m pip install --no-cache-dir --progress-bar off --user --requirement requirements-cache.txt \ ; RUN set -ex\ # Doing this is explicitly against the purpose and use of certifi.