From de25821d5495dd95473d743d08cbeb2b36a31b61 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 11 Apr 2014 17:10:54 -0400 Subject: [PATCH] fedora-tomcat7: thin build of a tomcat server --- fedora-tomcat7/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 fedora-tomcat7/Dockerfile diff --git a/fedora-tomcat7/Dockerfile b/fedora-tomcat7/Dockerfile new file mode 100644 index 0000000..f5ebef9 --- /dev/null +++ b/fedora-tomcat7/Dockerfile @@ -0,0 +1,10 @@ +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