Skip to content

Commit 98bf754

Browse files
committed
chore: remove more python cache
1 parent 154a85f commit 98bf754

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/cpp/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ RUN --mount=type=bind,source=.devcontainer/cpp/apt-requirements-base.json,target
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 \
3939
# Install some tools via pip to get more recent versions
40-
&& python3 -m pip install --break-system-packages --require-hashes --no-cache-dir --no-compile -r /tmp/requirements.txt
40+
&& 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
4142

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

0 commit comments

Comments
 (0)