소스 검색

change locale

Vladimir Tomishinets 6 년 전
부모
커밋
24224e4263
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      Dockerfile

+ 3 - 2
Dockerfile

@@ -22,7 +22,8 @@ RUN set -x \
            && chown -R tomcat:tomcat /etc/web-infoclinic
            
 COPY logging.properties /opt/tomcat8/conf/
-localedef -i ru_RU -c -f UTF-8 -A /usr/share/locale/locale.alias ru_RU.UTF-8
+RUN set -eux; \
+    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
+RUN ENV LANG ru_RU.utf8
 CMD ["catalina.sh", "run"]