From 6274c0f7fc4821fdd5df30a9dded7b3919fc5cbe Mon Sep 17 00:00:00 2001 From: minqiyang Date: Sun, 25 Nov 2018 22:53:05 +0800 Subject: [PATCH] Remove build content of Python3 in Dockerfile test=develop --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 945955289..84e1edbee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,8 @@ RUN wget -q https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz && \ CFLAGS="-Wformat" ./configure --prefix=/usr/local/ --enable-shared > /dev/null && \ make -j8 > /dev/null && make altinstall > /dev/null +RUN rm -r /root/python_build + RUN apt-get update && \ apt-get install -y --allow-downgrades patchelf \ python3 python3-dev python3-pip \ -- GitLab