containers icon indicating copy to clipboard operation
containers copied to clipboard

bitnami tomcat 9 on java 17

Open Controlix opened this issue 2 years ago • 2 comments

Name and Version

bitnami/tomcat:9.0

What is the problem this feature will solve?

I try to deploy a war created with spring-boot to a tomcat server. I need to use java 17 but that will not run om the bitnami/tomcat:9.0 docker container. When I downgrade my app to run on java 11 it starts without problem.

What is the feature you are proposing to solve the problem?

Build a tomcat image packaged with java 17

What alternatives have you considered?

I tried the official tomcat docker image and there my app with java 17 runs fine. But it lacks the easy of use of the bitnami tomcat version.

Controlix avatar Mar 26 '23 19:03 Controlix

Thanks for the suggestion, we already have an internal task to update the Java version. We will close this issue by posting a new comment once this task is done on our side and the new version is released. Thanks

carrodher avatar Mar 27 '23 07:03 carrodher

In GitHub will appear when this PR will be merged but that version is already in the docker hub

$ docker run --rm -ti bitnami/tomcat:9.0.74-debian-11-r5 java --version
tomcat 16:38:32.85 
tomcat 16:38:32.85 Welcome to the Bitnami tomcat container
tomcat 16:38:32.85 Subscribe to project updates by watching https://github.com/bitnami/containers
tomcat 16:38:32.85 Submit issues and feature requests at https://github.com/bitnami/containers/issues
tomcat 16:38:32.85 

openjdk 17.0.7 2023-04-18 LTS
OpenJDK Runtime Environment (build 17.0.7+7-LTS)
OpenJDK 64-Bit Server VM (build 17.0.7+7-LTS, mixed mode, sharing)

Mauraza avatar May 02 '23 16:05 Mauraza