提交 0d66435b 编写于 作者: G gangliao 提交者: GitHub

Merge pull request #2117 from gangliao/dockerfile

Fix locales to en_US.UTF-8
...@@ -131,8 +131,6 @@ cat > /paddle/build/Dockerfile <<EOF ...@@ -131,8 +131,6 @@ cat > /paddle/build/Dockerfile <<EOF
FROM ${BASE_IMAGE} FROM ${BASE_IMAGE}
MAINTAINER PaddlePaddle Authors <paddle-dev@baidu.com> MAINTAINER PaddlePaddle Authors <paddle-dev@baidu.com>
ENV HOME /root ENV HOME /root
ENV LANG en_US.UTF-8
# Use Fix locales to en_US.UTF-8
EOF EOF
if [[ -n ${APT_MIRROR} ]]; then if [[ -n ${APT_MIRROR} ]]; then
...@@ -153,6 +151,7 @@ RUN apt-get update &&\ ...@@ -153,6 +151,7 @@ RUN apt-get update &&\
paddle version paddle version
${DOCKERFILE_CUDNN_DSO} ${DOCKERFILE_CUDNN_DSO}
${DOCKERFILE_GPU_ENV} ${DOCKERFILE_GPU_ENV}
# default command shows the paddle version and exit # default command shows the paddle version and exit
CMD ["paddle", "version"] CMD ["paddle", "version"]
EOF EOF
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册