Public | Automated Build

Last pushed: a year ago
Short Description
Fabric8 Tomcat 8 Image (deprecated, use fabric8/tomcat-8 instead)
Full Description

Apache Tomcat 8.0

A simple docker build for installing a vanilla Tomcat 8.0 below
/opt/tomcat. It comes out of the box and is intended for use for
integration testing.

During startup a directory specified by the environment variable DEPLOY_DIR
(/maven by default) is checked for .war files. If there
are any, they are linked into Jetty's webapps/ directory for automatic
deployment. This plays nicely with the Docker maven plugin from
https://github.com/rhuss/docker-maven-plugin/ and its 'assembly' mode which
can automatically create Docker data container with Maven artifacts
exposed from a directory /maven

Features:

  • Tomcat Version: 8.0.23
  • Java Version: OpenJDK 1.7.0_60 (7u60-2.5.0-2) (base image: fabric8/base-sti)
  • Port: 8080
  • User admin (Password: admin) has been added to access the admin
    applications /host-manager and /manager)
  • Documentation and examples have been removed
  • Command: /opt/tomcat/bin/deploy-and-run.sh which links .war files from /maven to
    /opt/tomcat/webapps and then calls catalina.sh run
  • Sets -Djava.security.egd=file:/dev/./urandom for faster startup times
    (though a bit less secure)
Docker Pull Command
Owner
fabric8

Comments (0)