Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

download.sh always downloads the same datadir #6

Open
randomorder opened this issue Apr 27, 2021 · 0 comments
Open

download.sh always downloads the same datadir #6

randomorder opened this issue Apr 27, 2021 · 0 comments
Assignees

Comments

@randomorder
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant