mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
Merge pull request #18 from lancatlin/app-cjk-input
fix: Unicode input in container
This commit is contained in:
1 file changed
+10
-2
@@ -1,10 +1,18 @@
|
|||||||
FROM node:latest
|
FROM node:latest
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
|
locales \
|
||||||
curl \
|
curl \
|
||||||
vim \
|
vim \
|
||||||
zsh \
|
zsh
|
||||||
jq
|
|
||||||
|
RUN sed -i -e 's/# zh_TW.UTF-8 UTF-8/zh_TW.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||||
|
dpkg-reconfigure --frontend=noninteractive locales && \
|
||||||
|
update-locale LANG=zh_TW.UTF-8
|
||||||
|
|
||||||
|
ENV LANG zh_TW.UTF-8
|
||||||
|
ENV LANGUAGE zh_TW:zh
|
||||||
|
ENV LC_ALL zh_TW.UTF-8
|
||||||
|
|
||||||
WORKDIR /usr/local/lib/container
|
WORKDIR /usr/local/lib/container
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user