From 2f93d8ae211ddc14630b3c62013df347366d452b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20And=C3=A9n?= Date: Thu, 5 Sep 2024 07:37:56 +0200 Subject: [PATCH] py: disable cache when pip installing in docker --- tools/cufinufft/docker/cuda11.2/Dockerfile-x86_64 | 4 ++-- tools/cufinufft/docker/cuda11.8/Dockerfile-x86_64 | 4 ++-- tools/cufinufft/docker/cuda12.0/Dockerfile-x86_64 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/cufinufft/docker/cuda11.2/Dockerfile-x86_64 b/tools/cufinufft/docker/cuda11.2/Dockerfile-x86_64 index 3c1e61ed1..1f32e5213 100644 --- a/tools/cufinufft/docker/cuda11.2/Dockerfile-x86_64 +++ b/tools/cufinufft/docker/cuda11.2/Dockerfile-x86_64 @@ -68,7 +68,7 @@ RUN yum install -y \ RUN ln -s /opt/python/cp312-cp312/bin/python3 /usr/bin/python3 # upgrade pip, install auditwheel -RUN python3 -m pip install --upgrade pip && \ - python3 -m pip install --upgrade auditwheel +RUN python3 -m pip install --no-cache-dir --upgrade pip && \ + python3 -m pip install --no-cache-dir --upgrade auditwheel CMD ["/bin/bash"] diff --git a/tools/cufinufft/docker/cuda11.8/Dockerfile-x86_64 b/tools/cufinufft/docker/cuda11.8/Dockerfile-x86_64 index 104aad317..ceaf79a00 100644 --- a/tools/cufinufft/docker/cuda11.8/Dockerfile-x86_64 +++ b/tools/cufinufft/docker/cuda11.8/Dockerfile-x86_64 @@ -68,7 +68,7 @@ RUN yum install -y \ RUN ln -s /opt/python/cp312-cp312/bin/python3 /usr/bin/python3 # upgrade pip, install auditwheel -RUN python3 -m pip install --upgrade pip && \ - python3 -m pip install --upgrade auditwheel +RUN python3 -m pip install --no-cache-dir --upgrade pip && \ + python3 -m pip install --no-cache-dir --upgrade auditwheel CMD ["/bin/bash"] diff --git a/tools/cufinufft/docker/cuda12.0/Dockerfile-x86_64 b/tools/cufinufft/docker/cuda12.0/Dockerfile-x86_64 index a410a414c..3366b4b30 100644 --- a/tools/cufinufft/docker/cuda12.0/Dockerfile-x86_64 +++ b/tools/cufinufft/docker/cuda12.0/Dockerfile-x86_64 @@ -70,7 +70,7 @@ RUN yum install -y \ RUN ln -s /opt/python/cp312-cp312/bin/python3 /usr/bin/python3 # upgrade pip, install auditwheel -RUN python3 -m pip install --upgrade pip && \ - python3 -m pip install --upgrade auditwheel +RUN python3 -m pip install --no-cache-dir --upgrade pip && \ + python3 -m pip install --no-cache-dir --upgrade auditwheel CMD ["/bin/bash"]