LoginSignup
1
4

More than 3 years have passed since last update.

Docker: CentOS 8のイメージでの日本locale対応

Posted at

自分の中では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"
1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4