update dockerfile, update python
parent
9377d12b50
commit
d552a5428b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue