Alpine Linux base image with installed Zulu Community OpenJRE 8 and Tomcat
170
Dockerfile linksThe most straightforward way to use this image is to use a Tomcat container as runtime environment. In your Dockerfile, writing something along the lines of the following will run your web project:
FROM devstudy/tomcat:8
RUN rm -rf /opt/tomcat/ROOT
ADD target/ROOT.war /opt/tomcat/webapps/
You can then run and build the Docker image:
$ docker build -t my-java-app .
$ docker run -it --rm --name my-running-app my-java-app
View license information for the software contained in this image:
Content type
Image
Digest
Size
51.1 MB
Last updated
about 7 years ago
docker pull devstudy/tomcat:8