-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make extension installation more resilient
- Loading branch information
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,10 @@ LABEL org.opencontainers.image.source https://github.com/dbca-wa/docker-geoserve | |
LABEL maintainer "DBCA ASI <[email protected]>" | ||
|
||
ARG PLUGIN_URL="https://sourceforge.net/projects/geoserver/files/GeoServer/${GEOSERVER_VERSION}/extensions" | ||
ARG EXTENSIONS="vectortiles css" | ||
ARG EXTENSIONS="authkey vectortiles sldservice wps querylayer mbstyle css" | ||
|
||
RUN pushd /var/local/geoserver-exts; \ | ||
for EXT in ${EXTENSIONS}; do \ | ||
fname="geoserver-${GEOSERVER_VERSION}-${EXT}-plugin.zip" \ | ||
wget ${PLUGIN_URL}/${fname} \ | ||
unzip -d ${ext} ${fname}; rm ${fname} \ | ||
done; popd | ||
RUN mv /var/local/geoserver-exts/*/*.jar /usr/local/geoserver/WEB-INF/lib | ||
RUN cd /var/local/geoserver-exts; for EXT in ${EXTENSIONS}; do \ | ||
FNAME="geoserver-${GEOSERVER_VERSION}-${EXT}-plugin.zip"; \ | ||
wget --max-redirect=40 ${PLUGIN_URL}/${FNAME}; \ | ||
unzip -d ${EXT} ${FNAME}; rm ${FNAME}; \ | ||
done; mv */*.jar /usr/local/geoserver/WEB-INF/lib |