geonetwork / docker-geonetwork

Official Docker image repository for GeoNetwork
35 stars 39 forks source link

[Documentation] Usage of Jetty vs. Tomcat #115

Closed fleimgruber closed 7 months ago

fleimgruber commented 8 months ago

As a user I want to use Tomcat instead of Jetty in the Docker container, but could not find related information in https://github.com/geonetwork/docker-geonetwork/tree/main/4.4.1.

juanluisrp commented 7 months ago

@fleimgruber this is the repository of the Docker official image of GeoNetwork. It is based on Jetty. If you want to use Tomcat you would need to implement something like in the 3.12.x series of GN: https://github.com/geonetwork/docker-geonetwork/blob/bef3f1c871c962fbb3bbfac834e0e0d72772162b/3.12.9/Dockerfile#L1-L32

I guess this should mostly work just changing the GN_VERSION and GN_DOWNLOAD_MD5 and using a Tomcat with Java 11 as base image.