Mercurial > public > ssdt-docker
changeset 551:67c28d5e7904
update file name, add arg
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 23 May 2024 10:48:43 -0400 |
parents | eb70cc84cfb0 |
children | ef664849a72a |
files | tomcat-17/Dockerfile tomcat-17/setenv.sh tomcat-17/setenv17.sh |
diffstat | 3 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/tomcat-17/Dockerfile Thu May 23 10:11:12 2024 -0400 +++ b/tomcat-17/Dockerfile Thu May 23 10:48:43 2024 -0400 @@ -30,10 +30,10 @@ WORKDIR /usr/local/tomcat -COPY setenv.sh bin/ +COPY setenv17.sh bin/ COPY tomcat-users.xml server.xml context.xml logging.properties conf/ RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ - && chmod +x bin/setenv.sh + && chmod +x bin/setenv17.sh ENV TZ=America/New_York
--- a/tomcat-17/setenv.sh Thu May 23 10:11:12 2024 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -#! /bin/sh -# -echo "__________________________________________" - -export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC" -export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication " -export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom" -export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en" -export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US" - -echo "Using CATALINA_OPTS $CATALINA_OPTS" -echo "Using JAVA_OPTS $JAVA_OPTS" -echo "_________________________________________" -echo ""
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomcat-17/setenv17.sh Thu May 23 10:48:43 2024 -0400 @@ -0,0 +1,14 @@ +#! /bin/sh +# +echo "__________________________________________" + +export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseG1GC" +export CATALINA_OPTS="$CATALINA_OPTS -XX:+UseStringDeduplication " +export CATALINA_OPTS="$CATALINA_OPTS -Djava.security.egd=file:/dev/./urandom" +export CATALINA_OPTS="$CATALINA_OPTS -Duser.language=en" +export CATALINA_OPTS="$CATALINA_OPTS -Duser.region=US" + +echo "Using CATALINA_OPTS $CATALINA_OPTS" +echo "Using JAVA_OPTS $JAVA_OPTS" +echo "_________________________________________" +echo ""