Created
October 30, 2020 04:55
-
-
Save otera/d975ee1851589b2c25421e1eb6136295 to your computer and use it in GitHub Desktop.
docker centos8の日本語化
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:8 | |
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ | |
dnf -y upgrade && \ | |
dnf -y install glibc-locale-source && \ | |
dnf clean all && \ | |
localedef -f UTF-8 -i ja_JP ja_JP.UTF-8 && \ | |
ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime | |
ENV LANG="ja_JP UTF-8" \ | |
LANGUAGE="ja_JP:ja" \ | |
LC_ALL="ja_JP.UTF-8" \ | |
TZ="Asia/Tokyo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment