fedora-tomcat7: thin build of a tomcat server
This commit is contained in:
parent
507d009557
commit
de25821d54
1 changed files with 10 additions and 0 deletions
10
fedora-tomcat7/Dockerfile
Normal file
10
fedora-tomcat7/Dockerfile
Normal file
|
@ -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
|
Loading…
Reference in a new issue