From 4808addcd96b815c8c93fc7e7317894683eb7653 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Sat, 9 May 2020 18:32:19 +0800 Subject: [PATCH] fix centos6 dockerfile --- tools/Dockerfile.centos6.devel | 2 +- tools/Dockerfile.centos6.gpu.devel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Dockerfile.centos6.devel b/tools/Dockerfile.centos6.devel index dd519a0a..dd5a2ef7 100644 --- a/tools/Dockerfile.centos6.devel +++ b/tools/Dockerfile.centos6.devel @@ -21,7 +21,7 @@ RUN yum -y install wget && \ wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \ tar -zxf Python-2.7.5.tgz && \ 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 clean && \ echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \ diff --git a/tools/Dockerfile.centos6.gpu.devel b/tools/Dockerfile.centos6.gpu.devel index 3288f09d..c34780c1 100644 --- a/tools/Dockerfile.centos6.gpu.devel +++ b/tools/Dockerfile.centos6.gpu.devel @@ -21,7 +21,7 @@ RUN yum -y install wget && \ wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz && \ tar -zxf Python-2.7.5.tgz && \ 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 clean && \ echo 'export PATH=/usr/local/python2.7/bin:$PATH' >> /root/.bashrc && \ -- GitLab