Skip to content

Commit

Permalink
Merge pull request #295 from georchestra/backport-pr-294
Browse files Browse the repository at this point in the history
docker/jetty - removes javax.mail library provided by the docker imag…
  • Loading branch information
pmauduit authored Apr 24, 2024
2 parents 38be083 + 83376bb commit ada6841
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 ada6841

Please sign in to comment.