自分の中ではCentOS7と微妙にやり方が異なったので備忘
FROM centos:8
RUN dnf -y install langpacks-ja \
&& cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
ENV LANG="ja_JP.UTF-8" \
LANGUAGE="ja_JP:ja" \
LC_ALL="ja_JP.UTF-8"
More than 3 years have passed since last update.
自分の中ではCentOS7と微妙にやり方が異なったので備忘
FROM centos:8
RUN dnf -y install langpacks-ja \
&& cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
ENV LANG="ja_JP.UTF-8" \
LANGUAGE="ja_JP:ja" \
LC_ALL="ja_JP.UTF-8"
Register as a new user and use Qiita more conveniently