diff --git a/dockerfiles/Dockerfile.dspace b/dockerfiles/Dockerfile.dspace index a2c0fccca4ceb4224c5490ea1b22db8ab7810428..9a84312d91eb6ec46a888eaa7ac48a722b5a5d50 100644 --- a/dockerfiles/Dockerfile.dspace +++ b/dockerfiles/Dockerfile.dspace @@ -46,7 +46,7 @@ RUN chown -R tomcat8:tomcat8 /opt/tomcat8 COPY commul-customization/tomcat8 /etc/init.d/ RUN chmod a+x /etc/init.d/tomcat8 COPY commul-customization/catalina.sh /opt/tomcat8/bin/ -COPY commul-customization/setenv.sh /opt/tomcat8/bin/ +COPY commul-customization/tomcat-setenv.sh /opt/tomcat8/bin/ COPY commul-customization/tomcat-server.xml /opt/tomcat8/conf/server.xml diff --git a/dockerfiles/commul-customization/setenv.sh b/dockerfiles/commul-customization/setenv.sh deleted file mode 100644 index bd9505c6a1e8c257940c559f16e3eaa1bded9f63..0000000000000000000000000000000000000000 --- a/dockerfiles/commul-customization/setenv.sh +++ /dev/null @@ -1,4 +0,0 @@ -export CATALINA_OPTS="$CATALINA_OPTS -Xms2048m" -export CATALINA_OPTS="$CATALINA_OPTS -Xmx4096m" -export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m" - diff --git a/dockerfiles/commul-customization/tomcat-setenv.sh b/dockerfiles/commul-customization/tomcat-setenv.sh new file mode 100644 index 0000000000000000000000000000000000000000..d82f05a11c6acf7f958e7be7d68d52497a6231d9 --- /dev/null +++ b/dockerfiles/commul-customization/tomcat-setenv.sh @@ -0,0 +1,4 @@ +export CATALINA_OPTS="$CATALINA_OPTS -Xms4096m" +export CATALINA_OPTS="$CATALINA_OPTS -Xmx8192m" +export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m" +export CATALINA_PID="$CATALINA_BASE/tomcat.pid"