Git Product home page Git Product logo

docker-alpine-tomcat's Introduction

Minified Docker image with Tomcat, Java with unlimited JCE patch applied

Build Status

Basic Docker image to run Tomcat and Java with unlimited JCE patch applied.

This image is based on AlpineLinux to keep the size down, yet smaller images do exist. Includes BASH, since many Java applications like to have convoluted BASH start-up scripts.

Extends davidcaste/alpine-java-unlimited-jce.

Versions

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

Tags

Tomcat version Java version tags Size
Tomcat 8 Oracle Java 8 JRE latest / tomcat8 / jre8tomcat8
Tomcat 8 Oracle Java 8 JDK jdk8tomcat8
Tomcat 8 Oracle Java 7 JRE jre7tomcat8
Tomcat 8 Oracle Java 7 JDK jdk7tomcat8
Tomcat 7 Oracle Java 8 JRE tomcat7 / jre8tomcat7
Tomcat 7 Oracle Java 8 JDK jdk8tomcat7
Tomcat 7 Oracle Java 7 JRE jre7tomcat7
Tomcat 7 Oracle Java 7 JDK jdk7tomcat7

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/alpine-tomcat:tomcat8
  1. Use the image directly, and copy the .war files directly into the appBase directory. For example:
docker run -it --rm davidcaste/alpine-tomcat /opt/tomcat/bin/catalina.sh run
docker cp ./sample.war tomcat-ci:/opt/tomcat/webapps/sample.war

docker-alpine-tomcat's People

Contributors

davidcaste avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.