Apache Tomcat Docker Image (Alpine + JDK17)
A lightweight, production-ready Docker image for running Apache Tomcat 10.1.31, built on Alpine Linux Minirootfs (3.20.0-x86_64) with OpenJDK 17.
This image is designed for minimal size, faster startup, and cloud-native deployments.
Multi-stage build for optimized image size
Apache Tomcat 10.1.31 pre-configured
OpenJDK 17 runtime
Based on Alpine scratch (3.20.0-x86_64)
Minimal and secure footprint
Follow the steps to bring up the development environment in your local and build Docker Image.
- Install Git, Maven and Docker
- Clone the Develop branch using "git clone "
- Docker build command "docker build -t : -f ."
docker build -t custom-tomcat-base-image:openjdk17 -f Dockerfile.from-scratch .