Skip to content

Commit c5a2014

Browse files
committed
chore: more pip cleanup
1 parent 98bf754 commit c5a2014

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.devcontainer/cpp/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ RUN --mount=type=bind,source=.devcontainer/cpp/apt-requirements-base.json,target
3636
# Include the Cisco Umbrella PKI Root
3737
&& wget -qO /usr/local/share/ca-certificates/Cisco_Umbrella_Root_CA.crt https://www.cisco.com/security/pki/certs/ciscoumbrellaroot.pem \
3838
&& update-ca-certificates \
39-
# Install some tools via pip to get more recent versions
39+
# Install some tools via pip to get more recent versions, clean up afterwards
4040
&& python3 -m pip install --break-system-packages --require-hashes --no-cache-dir --no-compile -r /tmp/requirements.txt \
41-
&& find / -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
41+
&& find / -regex '^.*\(__pycache__\|\.py[co]\)$' -delete \
42+
&& rm -rf $(pip cache dir)
4243

4344
# Install clang toolchain and mull mutation testing framework
4445
RUN --mount=type=bind,source=.devcontainer/cpp/apt-requirements-clang.json,target=/tmp/apt-requirements-clang.json \

0 commit comments

Comments
 (0)