comparison 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
comparison
equal deleted inserted replaced
6:79c21c74fe03 7:72f33ca6aa5b
1 FROM tomcat:8.0.26-jre8 1 FROM tomcat:8.0.26-jre8
2 2
3 MAINTAINER Dave Smith <smith@nwoca.org> 3 MAINTAINER Dave Smith <smith@nwoca.org>
4 4
5 COPY setenv.sh /usr/local/tomcat/bin/setenv.sh 5 COPY setenv.sh /usr/local/tomcat/bin/
6 COPY createTomcatAdmin.sh /usr/local/tomcat/bin/
6 7
7 RUN chmod 755 /usr/local/tomcat/bin/setenv.sh 8 RUN chmod +x /usr/local/tomcat/bin/setenv.sh \
9 /usr/local/tomcat/bin/createTomcatAdmin.sh
8 10
9 VOLUME /usr/local/tomcat/logs