File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM alpine:latest
2- MAINTAINER GeoNode development team
2+ LABEL GeoNode development team
33
44# Install curl in alpine 3.3+
55RUN apk --no-cache add curl
@@ -9,7 +9,7 @@ RUN mkdir -p /tmp/geonode/downloaded
99ENV TEMP_DOWNLOADED /tmp/geonode/downloaded
1010WORKDIR ${TEMP_DOWNLOADED}
1111
12- ENV GEOSERVER_VERSION=2.15.2
12+ ENV GEOSERVER_VERSION=2.23.0
1313
1414ADD download.sh ${TEMP_DOWNLOADED}
1515RUN chmod +x ${TEMP_DOWNLOADED}/download.sh
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: '2'
33services :
44 data_dir_conf :
55 build : .
6- image : geoserverdatadir
6+ image : geonode/geoserver_data:2.23.0
77 container_name : geoserver_data_dir
88 command : /bin/true
99 volumes :
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ GEOSERVER_VERSION=$1
1212TEMP_DOWNLOADED=$2
1313
1414echo " GeoServer Data Directory is going to be downloaded"
15- # for debugging
16- echo " curl -k -L -O https://build.geo-solutions.it/geonode/geoserver/latest/data-${GEOSERVER_VERSION} .zip"
17- curl -k -L -O https://build.geo-solutions.it/geonode/geoserver/latest/data-$GEOSERVER_VERSION .zip && \
18- unzip -x -d ${TEMP_DOWNLOADED} data-$GEOSERVER_VERSION .zip
15+ artifact_url=" https://artifacts.geonode.org/geoserver/$GEOSERVER_VERSION /geonode-geoserver-ext-web-app-data.zip"
16+ echo " Downloading: $artifact_url "
17+ curl -k -L " $artifact_url " --output data.zip && unzip -x -d ${TEMP_DOWNLOADED} data.zip
1918echo " GeoServer Data Directory download has been completed"
You can’t perform that action at this time.
0 commit comments