From df0a7305761cfdfa2ead8e9164c9367a53c4d02a Mon Sep 17 00:00:00 2001 From: Francis CLAIRICIA-ROSE-CLAIRE-JOSEPHINE Date: Sat, 28 Sep 2024 20:54:37 +0200 Subject: [PATCH] Benchmarks: Disable pip cache in Dockerfile --- benchmark_server/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/benchmark_server/Dockerfile b/benchmark_server/Dockerfile index 6a09ab87..d6e6f56c 100644 --- a/benchmark_server/Dockerfile +++ b/benchmark_server/Dockerfile @@ -5,13 +5,15 @@ FROM python:$PYTHON_VERSION # This means 'do not warn about it' :) ENV PIP_ROOT_USER_ACTION=ignore -RUN pip install --no-cache-dir -U pip +ENV PIP_NO_CACHE_DIR=true + +RUN pip install -U pip RUN mkdir -p /usr/src COPY servers /usr/src/servers -RUN pip install --no-cache-dir -r /usr/src/servers/requirements.txt +RUN pip install -r /usr/src/servers/requirements.txt ARG EASYNETWORK_SDIST COPY $EASYNETWORK_SDIST /easynetwork.tar.gz -RUN pip install --no-cache-dir "/easynetwork.tar.gz" +RUN pip install "/easynetwork.tar.gz"