Default bitnami-tomcat9-debian-10-r13 image:
- Tomcat 9 ✅
- HTTP/2 adapter for protocol upgrade - requires Apache APR ✅
- JDK 1.8 ❌
- WAR deployed as a root "/" ❌
GitHub repo: bitnami-docker-tomcat
DockerHub image: bitnami/tomcat:9.0.34-debian-10-r13
cd scripts
. ./set-evn.sh
kubectl create ns $NS
cd scripts
. ./set-evn.sh
kubectl create -f $K8S_DIR/pvc.yaml -n $NS
cd scripts
./deploy.sh bitnami-tomcat9-debian-10-r13
cd scripts
./test.sh bitnami-tomcat9-debian-10-r13
cd scripts
./connect.sh bitnami-tomcat9-debian-10-r13
$ curl http://localhost:8080/
$ curl -u admin:admin http://localhost:8080/host-manager/text/list
Upload ../apps/hellow-world-webapp.war via Web UI
cd scripts
./undeploy.sh bitnami-tomcat9-debian-10-r13
I've customized Bitami docker image bitnami-tomcat9-jdk18
a bit to incorporate missing requiremets and few enhancement: andriykalashnykov/bitnami-tomcat9-jdk18
- Tomcat 9 ✅
- HTTP/2 adapter for protocol upgrade - requires Apache APR ✅
- JDK 1.8 ✅
- WAR deployed as a root "/" ✅
and created another image to demonstrate how deploy WAR file as ROOT "/" context andriykalashnykov/bitnami-tomcat9-jdk18-root-war
cd scripts
./deploy.sh bitnami-tomcat9-jdk18-root-war
cd scripts
./test.sh bitnami-tomcat9-jdk18-root-war
cd scripts
./connect.sh bitnami-tomcat9-jdk18-root-war
$ curl http://localhost:8080/index.html
$ curl -k https://localhost:8443/index.html
$ curl -k -u admin:admin https://localhost:8443/manager/status/all?XML=true
$ netstat -a | egrep 'Proto|LISTEN'
$ lsof -i -P 2>/dev/null
cd scripts
./undeploy.sh bitnami-tomcat9-jdk18-root-war