Public | Automated Build

Last pushed: 7 months ago
Dockerfile
FROM mauroarias/docker-java8_debian MAINTAINER Mauro Arias <mauro.arias.a@gmail.com> ENV TOMCAT_VERSION 7.0.75 ENV TOMCAT_FOLDER 9324 ENV TOMCAT_PORT 8080 RUN apt-get update && \ apt-get install -y wget supervisor && \ rm -rf /var/lib/apt/lists/* && \ wget -q https://archive.apache.org/dist/tomcat/tomcat-7/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz && \ mkdir -p /opt/tomcat && \ tar -vzxf apache-tomcat-$TOMCAT_VERSION.tar.gz -C /opt/tomcat && \ cp -rf /opt/tomcat/apache-tomcat-7.0.75/* /opt/tomcat/ && \ rm apache-tomcat-$TOMCAT_VERSION.tar.gz && \ rm -rf /opt/tomcat/apache-tomcat-7.0.75 && \ rm -rf /opt/tomcat/webapps/examples && \ rm -rf /opt/tomcat/webapps/docs && \ apt-get -y remove wget && \ apt-get clean all ADD start-tomcat7.sh /opt/tomcat/bin/start-tomcat7.sh ADD supervisor_tomcat7.conf /etc/supervisor/conf.d/ EXPOSE $TOMCAT_PORT CMD ["supervisord", "-n"]
Source Repository