Skip to content

Commit 6274c0f

Browse files
committed
Remove build content of Python3 in Dockerfile
test=develop
1 parent c92c440 commit 6274c0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ RUN wget -q https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz && \
4343
CFLAGS="-Wformat" ./configure --prefix=/usr/local/ --enable-shared > /dev/null && \
4444
make -j8 > /dev/null && make altinstall > /dev/null
4545

46+
RUN rm -r /root/python_build
47+
4648
RUN apt-get update && \
4749
apt-get install -y --allow-downgrades patchelf \
4850
python3 python3-dev python3-pip \

0 commit comments

Comments
 (0)