aboutsummaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-03-09 12:08:09 -0800
committerGitHub <noreply@github.com>2021-03-09 12:08:09 -0800
commit1233505600043229586ac987e8d450f37ad83ade (patch)
tree7b2c504512d34659b1325452afc2cfa789de0789 /infra
parent92bb205b50518c406624a72bf25ed13a62439cfe (diff)
downloadoss-fuzz-1233505600043229586ac987e8d450f37ad83ade.tar.gz
[base-builder] Delete unneeded files from atheris install (#5344)
Diffstat (limited to 'infra')
-rw-r--r--infra/base-images/base-builder/Dockerfile5
1 files changed, 3 insertions, 2 deletions
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 && \