diff options
author | 2021-03-09 18:30:31 -0800 | |
---|---|---|
committer | 2021-03-09 18:30:31 -0800 | |
commit | 0475bfa16aa60506bfa9f3312462b7e9df8f178e (patch) | |
tree | 6656bdd718a421265561b980e57e06fd1162fae7 /infra/base-images/base-builder/Dockerfile | |
parent | 876b84445fc66f72ea3e219858d7f5febb2768ff (diff) |
[base-builder] Remove unnecessary python files (58 MB) (#5348)
Related: #5170
Diffstat (limited to 'infra/base-images/base-builder/Dockerfile')
-rw-r--r-- | infra/base-images/base-builder/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile index 3521a8bf..373b4769 100644 --- a/infra/base-images/base-builder/Dockerfile +++ b/infra/base-images/base-builder/Dockerfile @@ -57,7 +57,8 @@ RUN export PYTHON_DEPS="\ ln -s /usr/bin/python3 /usr/bin/python && \ cd .. && \ rm -r /tmp/Python-$PYTHON_VERSION.tar.xz /tmp/Python-$PYTHON_VERSION && \ - apt-get remove -y $PYTHON_DEPS # https://github.com/google/oss-fuzz/issues/3888 + apt-get remove -y $PYTHON_DEPS && \ + rm -rf /usr/local/lib/python3.8/test # https://github.com/google/oss-fuzz/issues/3888 # Install latest atheris for python fuzzing, pyinstaller for fuzzer packaging, # six for Bazel rules. |