docker
docker copied to clipboard
Switch to official Tomcat 9 - jre 11 base image
In this PR a change of the base image to the official Tomcat 9 (tomcat:9.0.85-jre11-temurin-jammy) image is suggested (internally based on ubuntu 22.04). In particular, I see the following advantages of this change:
- By using this image, Java and Tomcat do not have to be installed manually and they are pre-configured in a consistent way
- Since the Tomcat image is regularly updated on the operating system level as well as on the Tomcat side, this can be used to continuously update the built images and release them with the same tag but different digest when updating the base image, if the GeoServer version remains the same.
- See also the discussion in https://osgeo-org.atlassian.net/browse/GEOS-11231
- The resulting GeoServer image is about 38% smaller than the one currently provided
Thank you. I like this change and will take some time soon to test this extensively to ensure that all available features are still working with such a "basic" change.
Would be great if you could resolve the conflicts @ahennr :pray:
Would be great if you could resolve the conflicts @ahennr 🙏
🏁
Thx a lot for the work @ahennr
I really like this for different reasons:
- ~30% reduced image size (even with JDK)
- better support with https://github.com/geoserver/docker/pull/48
- simpler
Dockerfile - probably more...
I think I'll merge this soon (probably other PRs that might be merged before lead to new merge conflicts)
I made some final extensive testing and everything was fine, so i will merge this now. Thx again :pray: