Sign inSign up

davidcaste/debian-tomcat

By davidcaste

•Updated over 9 years ago

Yet another Debian Docker image for Tomcat, Java with unlimited JCE patch applied

Image
0

10K+

davidcaste/debian-tomcat repository overview

⁠Yet another Debian Docker image for Tomcat, Java with unlimited JCE patch applied

Build Status

Basic Docker⁠ image to run Tomcat⁠ and Java⁠ applications, based on Debian⁠ Jessie. This image is patched with Java Cryptographic Extension (JCE) Unlimited Strength Jurisdiction Policy Files.

It also includes Bash, since many Java applications like to have convoluted Bash start-up scripts.

Extends davidcaste/debian-oracle-java⁠.

⁠Versions

Tomcat 8 Version: 8.0.33
Tomcat 7 Version: 7.0.69
JRE8/JDK8 Version: 8u92-b14
JRE7/JDK7 Version: 7u80-b15

⁠Tags
Tomcat versionJava versiontagsSize
Tomcat 8Oracle Java 8 JRElatest / tomcat8 / jre8tomcat8
Tomcat 8Oracle Java 8 JDKjdk8tomcat8
Tomcat 8Oracle Java 7 JREjre7tomcat8
Tomcat 8Oracle Java 7 JDKjdk7tomcat8
Tomcat 7Oracle Java 8 JREtomcat7 / jre8tomcat7
Tomcat 7Oracle Java 8 JDKjdk8tomcat7
Tomcat 7Oracle Java 7 JREjre7tomcat7
Tomcat 7Oracle Java 7 JDKjdk7tomcat7
⁠Usage

Some indications:

  • Tomcat installation directory is /opt/tomcat ($TOMCAT_HOME/$CATALINA_HOME). Executable scripts are found in directory $TOMCAT_HOME/bin and the application base (appBase) directory is $TOMCAT_HOME/webapps.
  • The path of file catalina.out is managed by the variable $CATALINA_OUT, and its value by default is /dev/null (disabled).
  • Apache logs are written into directory /logs/.

There are two ways to use this image:

  1. Use it as base image for other images. For example:
FROM davidcaste/debian-tomcat:tomcat8
  1. Use the image directly, and copy the .war files directly into the appBase directory. For example:
docker run -it --rm davidcaste/debian-tomcat /opt/tomcat/bin/catalina.sh run
docker cp ./sample.war tomcat-ci:/opt/tomcat/webapps/sample.war

Tag summary

Content type

Image

Digest

Size

115.6 MB

Last updated

over 9 years ago

docker pull davidcaste/debian-tomcat