From 1233505600043229586ac987e8d450f37ad83ade Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Tue, 9 Mar 2021 12:08:09 -0800 Subject: [base-builder] Delete unneeded files from atheris install (#5344) --- infra/base-images/base-builder/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'infra') diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile index c2f84fda3..3521a8bf9 100644 --- a/infra/base-images/base-builder/Dockerfile +++ b/infra/base-images/base-builder/Dockerfile @@ -61,8 +61,9 @@ RUN export PYTHON_DEPS="\ # Install latest atheris for python fuzzing, pyinstaller for fuzzer packaging, # six for Bazel rules. -RUN unset CFLAGS CXXFLAGS && pip3 install -v \ - atheris pyinstaller==4.1 six==1.15.0 +RUN unset CFLAGS CXXFLAGS && pip3 install -v --no-cache-dir \ + atheris pyinstaller==4.1 six==1.15.0 && \ + rm -rf /root/.cache/pip # Download and install the latest stable Go. RUN cd /tmp && \ -- cgit v1.2.3