From 4f9383f50c451f7ece4302ab9f8a99a713137e64 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Wed, 27 May 2020 15:38:34 -0700 Subject: [PATCH] Remove libbz2-dev dependency installed in base-builder for python3 (#3890) * Remove libbz2-dev dependency installed in base-builder for python3 Fixes #3888 --- infra/base-images/base-builder/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile index 1b4a3e08c..f28548f3c 100644 --- a/infra/base-images/base-builder/Dockerfile +++ b/infra/base-images/base-builder/Dockerfile @@ -50,7 +50,9 @@ RUN cd /tmp/ && \ cd Python-$PYTHON_VERSION && \ ./configure --enable-optimizations && \ make -j install && \ - rm -r /tmp/Python-$PYTHON_VERSION.tar.xz /tmp/Python-$PYTHON_VERSION + cd .. && \ + rm -r /tmp/Python-$PYTHON_VERSION.tar.xz /tmp/Python-$PYTHON_VERSION && \ + apt-get remove -y libbz2-dev # https://github.com/google/oss-fuzz/issues/3888 # Download and install the latest stable Go. ADD https://storage.googleapis.com/golang/getgo/installer_linux $SRC/