container-images/laughing-octo/fedora-tomcat7/Dockerfile
Vincent Batts d59b1af998 Add 'laughing-octo/' from commit 'ee815e9ccc120f5d750d8d958c412778e8a77aa0'
git-subtree-dir: laughing-octo
git-subtree-mainline: 264531c268
git-subtree-split: ee815e9ccc
2024-03-27 15:58:12 -04:00

10 lines
328 B
Docker

FROM fedora:20
RUN curl http://mirrors.gigenet.com/apache/tomcat/tomcat-7/v7.0.53/bin/apache-tomcat-7.0.53.tar.gz | tar zx && mv apache-tomcat-7.0.53 tomcat
RUN yum install -y java && rm -rf /var/cache/yum
EXPOSE 8080
VOLUME ["/tomcat/webapps","/tomcat/logs"]
CMD /tomcat/bin/startup.sh && tail -f /tomcat/logs/catalina.out