Skip to content

Java Web Application (WAR) deployed as root "/" context onto Customized Bitnami Tomcat 9

License

Notifications You must be signed in to change notification settings

AndriyKalashnykov/bitnami-tomcat9-jdk18-root-war

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image CI Build Status Docker Pulls License Hits

Java Web Application (WAR) deployed as root "/" context onto Customized Bitnami Tomcat 9

Pre-requisites

Features

How it's done

Java Web Application (WAR) deployed as Tomcat's root "/" context

Base Docker image

Java Web Application

bitnami-tomcat9-jdk18-root-war on DockerHub

Run image

docker login
docker run --name t9 -d --rm -p 8080:8080 -p 8443:8443 andriykalashnykov/bitnami-tomcat9-jdk18-root-war:latest

Test image

docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/conf/server.xml | grep 'custom config'"
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/conf/server.xml | grep 'TLSv1.3,TLSv1.2'"
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/logs/catalina.*.log | grep 'APR'"
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/conf/tomcat-users.xml | grep 'admin-script'"
docker exec -t t9 sh -c "curl http://localhost:8080/index.html"
docker exec -t t9 sh -c "curl -k https://localhost:8443/index.html"

Stop image

docker stop t9

Releases

No releases published

Packages

No packages published