Closed hbruch closed 7 months ago
thanks @hbruch I would split this in two:
Yes, great, thank you!
And GEOSERVER_OPTS
should be added to CATALINA_OPTS in the entrypoint.sh
also, not in the Dockerfile, as currently a GEOSERVER_OPTS
passed as ENV VAR is not evaluated, as JAVA_OPTS is extrapolated at build time already.
merged. Sorry it took some time @hbruch thanks @camuffo
In case someone wants to start the docker container with additional
GEOSERVER_OPTS
, all the default opts need to be redefined.A new ENV variable
EXTRA_GEOSERVER_OPTS
which gets appended toGEOSERVER_OPTS
would avoid this.Note: Dockerfile#L98 defines
JAVA_OPTS
, though catalina.sh suggests to rather useCATALINA_OPTS
instead ofJAVA_OPTS