Add EUC-JP locale
This commit is contained in:
parent
a0fd57c41d
commit
4979f74631
|
@ -1,14 +1,19 @@
|
||||||
FROM archlinux:base-devel
|
FROM archlinux:base-devel
|
||||||
|
|
||||||
|
# Enable locales as well for containers
|
||||||
|
# Disables blacklist of less-commonly used features
|
||||||
|
RUN sed -i 's/^NoExtract.*$//' /etc/pacman.conf
|
||||||
|
RUN pacman-key --init
|
||||||
|
RUN --network=host pacman -Syu --noconfirm \
|
||||||
|
archlinux-keyring \
|
||||||
|
glibc
|
||||||
|
|
||||||
RUN sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
|
RUN sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
|
||||||
|
RUN sed -i 's/#ja_JP.EUC-JP EUC-JP/ja_JP.EUC-JP EUC-JP/' /etc/locale.gen
|
||||||
RUN locale-gen
|
RUN locale-gen
|
||||||
ENV \
|
ENV \
|
||||||
LANG=en_US.UTF-8 \
|
LANG=en_US.UTF-8 \
|
||||||
LANGUAGE=en_US:en \
|
LANGUAGE=en_US:en \
|
||||||
LC_ALL=en_US.UTF-8
|
LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
RUN pacman-key --init
|
|
||||||
RUN --network=host pacman -Syu --noconfirm \
|
|
||||||
archlinux-keyring
|
|
||||||
|
|
||||||
RUN useradd -u 10000 -m user
|
RUN useradd -u 10000 -m user
|
||||||
|
|
Loading…
Reference in New Issue