[PATCH 2 of 3] Set locale in client container

Wald Commits scm-commit at wald.intevation.org
Thu Nov 2 18:01:32 CET 2023


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1698943738 -3600
#      Thu Nov 02 17:48:58 2023 +0100
# Branch 3.2.x
# Node ID 13351afee6676b96da52c1d22a04b899626ceafc
# Parent  8d71363cd3bd973f21f9d4a6def17bd887219aa6
Set locale in client container

Improves logging of non-ASCII characters.

diff -r 8d71363cd3bd -r 13351afee667 docker/Dockerfile.gwt-client
--- a/docker/Dockerfile.gwt-client	Thu Nov 02 14:37:47 2023 +0100
+++ b/docker/Dockerfile.gwt-client	Thu Nov 02 17:48:58 2023 +0100
@@ -47,6 +47,10 @@
 FROM base
 RUN yum -q -y install tomcat gnu-free-sans-fonts
 
+RUN localedef -i en_US -f UTF-8 en_US.UTF-8
+RUN echo "LANG=en_US.utf8" > /etc/locale.conf
+ENV LANG en_US.utf8
+
 # Prevent Tomcat from logging to files
 # (JRE default is logging to System.err)
 RUN rm /etc/tomcat/logging.properties


More information about the Dive4Elements-commits mailing list