Skip to content

Commit

Permalink
设置中文环境
Browse files Browse the repository at this point in the history
  • Loading branch information
Book-fall2wish authored Jun 6, 2024
1 parent 73f1113 commit 9b80a26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b80a26

Please sign in to comment.