diff --git a/Dockerfile b/Dockerfile index 79c3b70..e5d0804 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,10 @@ LABEL org.opencontainers.image.source https://github.com/dbca-wa/docker-geoserve LABEL maintainer "DBCA ASI " 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 \ No newline at end of file +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