Mercurial > public > ssdt-docker
changeset 9:b65e777478f3
remove admin script from image
author | smith@nwoca.org |
---|---|
date | Mon, 14 Dec 2015 18:21:48 +0000 |
parents | 42ab2045d76c |
children | c9a3e1f8d500 |
files | tomcat/Dockerfile |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
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