changeset 9796:13351afee667 3.2.x

Set locale in client container Improves logging of non-ASCII characters.
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Nov 2023 17:48:58 +0100
parents 8d71363cd3bd
children 74bbf3c5d1ec
files docker/Dockerfile.gwt-client
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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

http://dive4elements.wald.intevation.org