apache-tomcat7 and oracle-jdk7
341
#README You nedd to download the file apache-tomcat-7.0.53.tar.gz (or another apache tomcat distro) and put it on the same folder of the dockerfile.
#External configuration You may share the (/opt/tomcat7) conf, logs and webapps folder with the container and you host. e.g. docker run -v /myhost/shared/conf:/opt/tomcat7/conf -v /myhost/shared/webapps:/opt/tomcat7/webapps -v /myhost/shared/logs:/opt/tomcat7/logs
#Dockerfile
FROM danieltribeiro/oracle-jdk
ENV CATALINA_HOME /opt/tomcat7
ADD apache-tomcat-7.0.53.tar.gz /tmp
RUN mv /tmp/apache-tomcat-7.0.53 /opt/tomcat7
EXPOSE 8080
CMD ["/opt/tomcat7/bin/catalina.sh", "run"]
Content type
Image
Digest
sha256:eb32f699a…
Size
236.9 MB
Last updated
almost 11 years ago
docker pull danieltribeiro/tomcat7