Skip to content

Commit

Permalink
fix: 🐛 中文乱码
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed Jul 21, 2024
1 parent e48b4c0 commit 42fd602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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=zh_CN.UTF-8
ENV LANG=C.UTF-8

RUN apt-get update && \
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 && \
locale-gen C.UTF-8 && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
apt-get autoremove -y && \
apt-get clean && \
Expand Down

0 comments on commit 42fd602

Please sign in to comment.