update dockerfile, update python

master
xianhu 2017-07-10 16:31:45 +08:00
parent 9377d12b50
commit d552a5428b
1 changed files with 3 additions and 3 deletions

View File

@ -30,11 +30,11 @@ RUN service crond restart
# download python3
WORKDIR /root/
RUN wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz
RUN tar -xf Python-3.5.3.tar.xz
RUN wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
RUN tar -xf Python-3.6.1.tar.xz
# install python3
WORKDIR /root/Python-3.5.3
WORKDIR /root/Python-3.6.1
RUN ./configure
RUN make install
RUN make clean