Add EUC-JP locale

This commit is contained in:
Alex D. 2024-10-06 15:20:48 +00:00
parent a0fd57c41d
commit 4979f74631
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 9 additions and 4 deletions

View File

@ -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