Skip to content

Commit a5be783

Browse files
committed
Fix DL3042: Avoid use of cache directory with pip
1 parent c5a5982 commit a5be783

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.hadolint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ignored:
77
- DL3018 # Pin versions in apk add
88
- DL3033 # Pin versions in yum install
99
- DL3041 # Pin versions in dnf install
10-
- DL3042 # Avoid use of cache directory with pip
1110
- DL3047 # Avoid use of wget without progress bar
1211
- DL3059 # Multiple consecutive RUN instructions
1312
- DL4001 # Either use Wget or Curl but not both

amazon-2-amd64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN bash -c "python3.10 -m pip install virtualenv \
6464
RUN wget https://github.com/ninja-build/ninja/releases/download/v1.13.2/ninja-linux.zip \
6565
&& unzip ninja-linux.zip \
6666
&& mv ninja /usr/bin
67-
RUN python3.10 -m pip install meson
67+
RUN python3.10 -m pip install --no-cache-dir meson
6868
RUN ln -s /usr/local/bin/python3.10 /usr/bin/python3
6969
RUN cd /depends \
7070
&& ./install_openjpeg.sh \

0 commit comments

Comments
 (0)