diff --git a/Dockerfile b/Dockerfile index 9214318..0083382 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,10 @@ RUN fc-cache -f # rm -f gf.tar.gz && \ # fc-cache -f && \ # rm -rf $PWD/fonts-main/ - +# 设定中文环境UTF8 +RUN bash -c 'echo -e "en_US.UTF-8 UTF-8\nzh_CN.UTF-8 UTF-8" >> /etc/locale.gen' && \ + locale-gen &&\ + sudo bash -c 'echo -e "LANG=zh_CN.UTF-8\nLC_ALL=zh_CN.UTF-8" > /etc/default/locale' # mcl # 将交互脚本复制到镜像中 COPY interact.sh /interact.sh