@@ -39,10 +39,14 @@ COPY launchTomcat.sh \
3939 start-examples.txt \
4040 setupSharedCacheJars.sh /usr/local/tomcat/
4141
42- # Make directories, make scripts executable, save old tomcat config files
42+ # Make directories, make scripts executable, save old tomcat config files, remove unwanted apps
4343RUN chmod +x /usr/local/tomcat/launchTomcat.sh /usr/local/tomcat/setupSharedCacheJars.sh; \
4444 mv /usr/local/tomcat/conf/context.xml /usr/local/tomcat/conf/context.xml.bak; \
4545 mv /usr/local/tomcat/conf/tomcat-users.xml /usr/local/tomcat/conf/tomcat-users.xml.bak; \
46+ rm -rf /usr/local/tomcat/webapps/examples \
47+ /usr/local/tomcat/webapps/docs \
48+ /usr/local/tomcat/webapps/host-manager \
49+ /usr/local/tomcat/webapps/ROOT; \
4650 mkdir -p ${SERVER_CONFIG_DIR}; \
4751 mkdir -p ${FIREFLY_WORK_DIR}; \
4852 mkdir -p ${EXTERNAL_MOUNT_POINT}
@@ -73,14 +77,14 @@ EXPOSE 8080 5050 9050 7011
7377# MIN_JVM_SIZE and MAX_JVM_SIZE should be used to set the min and max JVM side
7478# at least MAX_JVM_SIZE should almost alway be used on the command line with
7579# parameter such as: -e "MAX_JVM_SIZE=4G"
76- ENV MIN_JVM_SIZE=1g
80+ ENV MIN_JVM_SIZE=1G
7781ENV MAX_JVM_SIZE=8G
7882
7983
8084# User name and password to use admin
8185ENV ADMIN_USER=admin
8286ENV ADMIN_PASSWORD=replaceMe
83- ENV DEBUG=true
87+ ENV DEBUG=false
8488ENV MANAGER=true
8589
8690# if jvmRoute is not passed the hostname (the container id) is used
0 commit comments