From 83376bb6667d5e6057315b3f5e35f519adb166c4 Mon Sep 17 00:00:00 2001 From: Pierre Mauduit Date: Wed, 24 Apr 2024 10:46:10 +0200 Subject: [PATCH] docker/jetty - removes javax.mail library provided by the docker image (georchestra/georchestra#4233) --- web/src/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/docker/Dockerfile b/web/src/docker/Dockerfile index 4c4c5392de..f041983d2d 100644 --- a/web/src/docker/Dockerfile +++ b/web/src/docker/Dockerfile @@ -14,6 +14,9 @@ RUN chown jetty:jetty /docker-entrypoint.d RUN mkdir -p /mnt/geonetwork_datadir && \ chown jetty:jetty /mnt/geonetwork_datadir +# Removes extra javax.mail library provided by Jetty +RUN rm -rf /usr/local/jetty/lib/mail + # Restore jetty user USER jetty