提交 fdaec206 编写于 作者: M MRXLT

fix centos6 dockerfile

上级 d46152fb
...@@ -21,7 +21,7 @@ RUN yum -y install wget && \ ...@@ -21,7 +21,7 @@ RUN yum -y install wget && \
wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \ wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \
tar -zxf Python-2.7.5.tgz && \ tar -zxf Python-2.7.5.tgz && \
cd Python-2.7.5 && \ cd Python-2.7.5 && \
./configure --prefix=/usr/local/python2.7 --enable-shared && \ ./configure --prefix=/usr/local/python2.7 --enable-shared --enable-unicode=ucs4 && \
make all && make install && \ make all && make install && \
make clean && \ make clean && \
echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \ echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \
......
...@@ -21,7 +21,7 @@ RUN yum -y install wget && \ ...@@ -21,7 +21,7 @@ RUN yum -y install wget && \
wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \ wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \
tar -zxf Python-2.7.5.tgz && \ tar -zxf Python-2.7.5.tgz && \
cd Python-2.7.5 && \ cd Python-2.7.5 && \
./configure --prefix=/usr/local/python2.7 --enable-shared && \ ./configure --prefix=/usr/local/python2.7 --enable-shared --enable-unicode=ucs4 && \
make all && make install && \ make all && make install && \
make clean && \ make clean && \
echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \ echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册