Skip to content

Commit 8f71ab7

Browse files
committed
Updated GS data docker image
1 parent bb70018 commit 8f71ab7

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

docker/geoserver_data/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM alpine:latest
2-
MAINTAINER GeoNode development team
2+
LABEL GeoNode development team
33

44
# Install curl in alpine 3.3+
55
RUN apk --no-cache add curl
@@ -9,7 +9,7 @@ RUN mkdir -p /tmp/geonode/downloaded
99
ENV TEMP_DOWNLOADED /tmp/geonode/downloaded
1010
WORKDIR ${TEMP_DOWNLOADED}
1111

12-
ENV GEOSERVER_VERSION=2.15.2
12+
ENV GEOSERVER_VERSION=2.23.0
1313

1414
ADD download.sh ${TEMP_DOWNLOADED}
1515
RUN chmod +x ${TEMP_DOWNLOADED}/download.sh

docker/geoserver_data/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '2'
33
services:
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:

docker/geoserver_data/download.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ GEOSERVER_VERSION=$1
1212
TEMP_DOWNLOADED=$2
1313

1414
echo "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
1918
echo "GeoServer Data Directory download has been completed"

0 commit comments

Comments
 (0)