We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e14a1 commit e80256aCopy full SHA for e80256a
2 files changed
docker/base-image/Dockerfile
@@ -17,9 +17,10 @@ ENV NODE_PATH=/usr/lib/node_modules
17
# Timezone environment
18
ENV TZ=Asia/Shanghai
19
20
-# language environment
+# language environment - support both C.UTF-8 (default) and zh_CN.UTF-8 (Chinese)
21
ENV LC_ALL=C.UTF-8
22
ENV LANG=C.UTF-8
23
+ENV LC_CTYPE=zh_CN.UTF-8
24
25
# frontend port
26
EXPOSE 8080
docker/base-image/install/deps/deps.sh
@@ -22,7 +22,12 @@ apt-get install -y \
net-tools \
fonts-wqy-zenhei \
fonts-noto-cjk \
- fontconfig
+ fontconfig \
+ locales
27
+
28
+# Generate Chinese locale
29
+locale-gen zh_CN.UTF-8
30
+update-locale
31
32
# Add source /etc/profile to ~/.bashrc
33
echo "source /etc/profile" >> ~/.bashrc
0 commit comments