# HG changeset patch # User smith@nwoca.org # Date 1450117308 0 # Node ID b65e777478f3c5b5d6850ca8e9efaa3af04fbf51 # Parent 42ab2045d76c0b6caa7a8cdfc118ae7a15d760ba remove admin script from image diff -r 42ab2045d76c -r b65e777478f3 tomcat/Dockerfile --- a/tomcat/Dockerfile Sat Dec 05 13:27:11 2015 +0000 +++ b/tomcat/Dockerfile Mon Dec 14 18:21:48 2015 +0000 @@ -1,10 +1,10 @@ -FROM tomcat:8.0.26-jre8 +FROM tomcat:8.0.30-jre8 MAINTAINER Dave Smith -COPY setenv.sh /usr/local/tomcat/bin/ -COPY createTomcatAdmin.sh /usr/local/tomcat/bin/ +WORKDIR /usr/local/tomcat -RUN chmod +x /usr/local/tomcat/bin/setenv.sh \ - /usr/local/tomcat/bin/createTomcatAdmin.sh +COPY setenv.sh bin/ +RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ + && chmod +x bin/setenv.sh