Skip to content

Commit

Permalink
WTH?
Browse files Browse the repository at this point in the history
  • Loading branch information
bodsch committed Oct 4, 2020
1 parent f6b1d58 commit f71efad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ ENV \
TERM=xterm \
CATALINA_HOME=/opt/tomcat \
JAVA_HOME=/usr/lib/jvm/default-jvm \
PATH=${PATH}:/opt/jdk/bin:${CATALINA_HOME}/bin \
LANG=C.UTF-8
PATH=${PATH}:/opt/jdk/bin:${CATALINA_HOME}/bin

# ---------------------------------------------------------------------------------------------------------------------

Expand All @@ -27,7 +26,7 @@ RUN \
nss \
openjdk11-jre-headless \
tomcat-native && \
echo "export LANG=${LANG}" > /etc/profile.d/locale.sh && \
echo "export LANG=C.UTF-8" > /etc/profile.d/locale.sh && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
sed -i 's,#networkaddress.cache.ttl=-1,networkaddress.cache.ttl=30,' "${JAVA_HOME}/jre/conf/security/java.security" && \
[ -d /opt ] || mkdir /opt 2> /dev/null && \
Expand Down

0 comments on commit f71efad

Please sign in to comment.