Skip to content

Commit 85bd2f1

Browse files
authored
Merge pull request #217 from monlor/test
fix: 🐛 中文乱码
2 parents 19ba93b + 48d70a4 commit 85bd2f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

metadata/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ WORKDIR /media
99
# 设置非交互模式,以避免安装过程中提示用户输入
1010
ARG DEBIAN_FRONTEND=noninteractive
1111

12-
ENV LANG=en_US.UTF-8
12+
ENV LANG=zh_CN.UTF-8
1313

1414
RUN apt-get update && \
15-
apt-get install -y cron locales busybox unzip curl fd-find gzip lsof sqlite3 httpie jq tzdata aria2 p7zip-full && \
16-
locale-gen en_US.UTF-8 && \
15+
apt-get install -y cron locales fonts-wqy-zenhei busybox unzip curl fd-find gzip lsof sqlite3 httpie jq tzdata aria2 p7zip-full && \
16+
locale-gen zh_CN.UTF-8 && \
1717
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
1818
apt-get autoremove -y && \
1919
apt-get clean && \

0 commit comments

Comments
 (0)