This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Description
download.sh is always downloading the same version of the artifact (datadir)
to reproduce:
mkdir -p /tmp/a /tmp/b
./download.sh 2.18.2 /tmp/a
./download.sh 9.8.7 /tmp/b
$ ls -1t
data-9.8.7.zip
data-2.18.2.zip
README.rst
download.sh*
Dockerfile
docker-compose.yml
Problem is the Dropbox URL: https://github.com/GeoNode/data-docker/blob/2.18.2/download.sh#L17:
curl -k -L -O https://www.dropbox.com/s/q0qc2t7d9alo9fk/data-$GEOSERVER_VERSION.zip && \
The middle part (q0qc2t7d9alo9fk) is not an ID for the dropbox directory containing the artifacts instead seems to be a unique id for the artifact itself and as a consequence, setting the GEOSERVER_VERSION does not have any effect