Explorar o código

change locale

Vladimir Tomishinets %!s(int64=6) %!d(string=hai) anos
pai
achega
b26b708de7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -21,6 +21,8 @@ RUN set -x \
            && chmod +x /opt/tomcat8/bin/healthcheck.sh \
            && chown -R tomcat:tomcat /etc/web-infoclinic
            
-COPY logging.properties /opt/tomcat8/conf/           
+COPY logging.properties /opt/tomcat8/conf/
+localedef -i ru_RU -c -f UTF-8 -A /usr/share/locale/locale.alias ru_RU.UTF-8
 USER tomcat
+ENV LANG ru_RU.utf8
 CMD ["catalina.sh", "run"]