From 9745cae17bb30252943223d0f0dbbaaf53204a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E7=8E=B0=E8=99=8E?= Date: Sun, 15 Apr 2018 11:12:15 +0800 Subject: [PATCH] update dockerfile, v15 --- Docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index dddf463..9736f67 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile by xianhu: build a docker image for spider or flask -# usage: docker build -t user/centos:v14 . +# usage: docker build -t user/centos:v15 . FROM centos:6.8 @@ -41,11 +41,11 @@ RUN service crond restart # download python3 WORKDIR /root/ -RUN wget https://www.python.org/ftp/python/3.5.4/Python-3.5.4.tar.xz -RUN tar -xf Python-3.5.4.tar.xz +RUN wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz +RUN tar -xf Python-3.6.5.tar.xz # install python3 -WORKDIR /root/Python-3.5.4 +WORKDIR /root/Python-3.6.5 RUN ./configure RUN make install RUN make clean