Skip to content

Commit

Permalink
fix: 🐛 中文乱码
Browse files Browse the repository at this point in the history
Closes: #215
  • Loading branch information
monlor committed Jul 21, 2024
1 parent 875d1ff commit 48d70a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metadata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ WORKDIR /media
# 设置非交互模式,以避免安装过程中提示用户输入
ARG DEBIAN_FRONTEND=noninteractive

ENV LANG=en_US.UTF-8
ENV LANG=zh_CN.UTF-8

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

0 comments on commit 48d70a4

Please sign in to comment.