Skip to content

Instantly share code, notes, and snippets.

@alessandromaggio
alessandromaggio / java-tomcat.dockerfile
Last active February 21, 2022 11:57
A dockerfile to run a Tomcat Java application
# Author: Alessandro Maggio
# See more on https://ictshore.com
# A Java Docker Tutorial and more explanation here: https://www.ictshore.com/devops/java-docker-tutorial-tomcat/
# IMPORTANT:
# 1. Replace my-package-name.war with the name/path of your tomcat package
# 2. Replace tomcat-conf.xml with name/path of your custom tomcat configuration file
FROM debian:stretch
# Install dependencies need