diff tomcat/Dockerfile @ 7:72f33ca6aa5b

add admin password and custom CATALINA_OPS
author smith@nwoca.org
date Mon, 14 Sep 2015 13:06:10 +0100
parents 9b74645ce4a4
children b65e777478f3
line wrap: on
line diff
--- a/tomcat/Dockerfile	Sun Sep 13 18:26:30 2015 -0400
+++ b/tomcat/Dockerfile	Mon Sep 14 13:06:10 2015 +0100
@@ -2,8 +2,9 @@
 
 MAINTAINER Dave Smith <smith@nwoca.org>
 
-COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
+COPY setenv.sh /usr/local/tomcat/bin/
+COPY createTomcatAdmin.sh /usr/local/tomcat/bin/
 
-RUN chmod 755 /usr/local/tomcat/bin/setenv.sh
+RUN chmod +x /usr/local/tomcat/bin/setenv.sh \
+             /usr/local/tomcat/bin/createTomcatAdmin.sh
 
-VOLUME /usr/local/tomcat/logs