diff 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
line wrap: on
line diff
--- 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 <smith@nwoca.org>
 
-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