Skip to content

Commit

Permalink
make web.xml writable by jetty user
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Jan 15, 2024
1 parent 885cef7 commit 334d0cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geoserver/webapp/src/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ RUN wget https://downloads.sourceforge.net/project/libjpeg-turbo/2.0.5/libjpeg-t
RUN mkdir /mnt/geoserver_datadir /mnt/geoserver_geodata /mnt/geoserver_tiles /mnt/geoserver_native_libs && \
chown jetty:jetty /etc/georchestra /mnt/geoserver_datadir /mnt/geoserver_geodata /mnt/geoserver_tiles /mnt/geoserver_native_libs

# add a tweaked configuration. First use case is support of OPTIONS.
ADD web.xml /var/lib/jetty/webapps/geoserver/WEB-INF/web.xml

USER jetty

# add a tweaked configuration. First use case is support of OPTIONS.
COPY --chown=jetty:jetty web.xml /var/lib/jetty/webapps/geoserver/WEB-INF/web.xml

VOLUME [ "/mnt/geoserver_datadir", "/mnt/geoserver_geodata", "/mnt/geoserver_tiles", "/mnt/geoserver_native_libs", "/tmp", "/run/jetty" ]

ENTRYPOINT [ "/docker-entrypoint.sh" ]
Expand Down

0 comments on commit 334d0cc

Please sign in to comment.