FROM centos:7.6.1810 RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
yum install glibc-common -y && \ localedef -c -f UTF-8 -i zh_CN zh_CN.utf8 && \ export LANG=zh_CN.UTF-8 && \ echo "export LANG=zh_CN.UTF-8" >> /etc/locale.conf ENV LANG zh_CN.UTF-8 ENV LC_ALL zh_CN.UTF-8
标签:LANG,容器,中文,UTF,CN,&&,zh,Dockerfile From: https://www.cnblogs.com/colin88/p/16639253.html