Skip to content

Commit ef0b481

Browse files
Copilotantoniojbt
andcommitted
Fix pip cache directory issue by adding --no-cache-dir flag to all pip install commands
Co-authored-by: antoniojbt <5346783+antoniojbt@users.noreply.github.com>
1 parent 6511992 commit ef0b481

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/ref_files/pq_example/code/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ RUN conda install python=3.6 \
8080
&& conda install -y r
8181

8282
# Install python packages:
83-
RUN pip install --upgrade pip numpy setuptools \
84-
&& pip install cython \
85-
&& pip install pandas \
83+
RUN pip install --no-cache-dir --upgrade pip numpy setuptools \
84+
&& pip install --no-cache-dir cython \
85+
&& pip install --no-cache-dir pandas \
8686
&& pip list
8787

8888
# Install project specific packages:
@@ -116,7 +116,7 @@ RUN conda install -y r-docopt=0.4.5 r-data.table=1.10.4 r-ggplot2=2.2.1 ; \
116116
# Install package of interest
117117
##############################
118118

119-
RUN pip install git+git://github.com/EpiCompBio/stats_utils.git
119+
RUN pip install --no-cache-dir git+git://github.com/EpiCompBio/stats_utils.git
120120

121121
############################
122122
# Default action to start in

0 commit comments

Comments
 (0)