comparison tomcat/Dockerfile @ 9:b65e777478f3

remove admin script from image
author smith@nwoca.org
date Mon, 14 Dec 2015 18:21:48 +0000
parents 72f33ca6aa5b
children cbaf2e9ca770
comparison
equal deleted inserted replaced
8:42ab2045d76c 9:b65e777478f3
1 FROM tomcat:8.0.26-jre8 1 FROM tomcat:8.0.30-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/ 5 WORKDIR /usr/local/tomcat
6 COPY createTomcatAdmin.sh /usr/local/tomcat/bin/
7 6
8 RUN chmod +x /usr/local/tomcat/bin/setenv.sh \ 7 COPY setenv.sh bin/
9 /usr/local/tomcat/bin/createTomcatAdmin.sh
10 8
9 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
10 && chmod +x bin/setenv.sh