(from github.com/ajinotatakii)
In the property of the environment variable of system information, “LANG = en_US.UTF - 8” is displayed, but what is the cause of this?
FESS is running as a Docker container on CentOS 7.5. (Image source is FROM openjdk: 8-jre)
At build time, locale is set in Dockerfile as follows.
RUN echo “ja_JP.UTF - 8 UTF - 8” >> /etc/locale.gen &&
locale-gen &&
update-locale LANG = ja_JP.UTF-8 &&
echo “export LANG = ja _ JP.UTF - 8” >> /etc/profile.d/lang.sh
When entering the container with docker exec -it fess / bin / bash, LANG = ja-JP.UTF-8 is set.