Skip to content

Commit

Permalink
docker/jetty - removes javax.mail library provided by the docker image (
Browse files Browse the repository at this point in the history
georchestra/georchestra#4233)

See georchestra/georchestra#4233 for the
context ; applying the same fix as the one on the console docker image.
  • Loading branch information
pmauduit committed Apr 24, 2024
1 parent ee63e71 commit de80bfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit de80bfb

Please sign in to comment.