Skip to content

Commit 206379b

Browse files
authoredFeb 5, 2021
Merge pull request #1 from Rajpratik71/optimization/pip-no-cache-dir
use `--no-cache-dir` flag to `pip` in dockerfiles to save space
2 parents 71d7f02 + ba8c6b5 commit 206379b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY --from=builder /go/src/github.com/ArangoGutierrez/archspec-feature-discover
1111

1212
# Install Spack
1313
RUN dnf update -y && dnf install git python38 python3-pip -y
14-
RUN pip3 install archspec
14+
RUN pip3 install --no-cache-dir archspec
1515
RUN dnf clean all
1616

1717
RUN useradd afd-side-car

0 commit comments

Comments
 (0)
Please sign in to comment.