Public Repository

Last pushed: a year ago
Short Description
this is a tomcat7+maven image
Full Description

you can use this as a base
build your app ,you need add a Dockerfile as:
FROM w1yd/tomcat7:jdk7-newrelic

ADD ROOT.war /usr/local/tomcat/webapps/
CMD ["catalina.sh", "run"]
if building with maven ,use this
FROM w1yd/tomcat7:jdk7-newrelic

ADD . /code
RUN mvn install && cp -r target/ROOT.war /usr/local/tomcat/webapps/
CMD ["catalina.sh", "run"]

#newrelic config
env
NEW_RELIC_LICENSE_KEY
NEW_RELIC_APP_NAME:

#tomcat dir /usr/local/tomcat/webapps/

Docker Pull Command
Owner
fengshuaiju

Comments (0)