Skip to content

Commit

Permalink
py: disable cache when pip installing in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
janden committed Sep 5, 2024
1 parent 1f38780 commit 2f93d8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tools/cufinufft/docker/cuda11.2/Dockerfile-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 2 additions & 2 deletions tools/cufinufft/docker/cuda11.8/Dockerfile-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 2 additions & 2 deletions tools/cufinufft/docker/cuda12.0/Dockerfile-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 2f93d8a

Please sign in to comment.