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