comparison docker/Dockerfile.artifacts @ 9764:b5d4cb088737 3.2.x

Add named volume for DEM data
author Tom Gottfried <tom@intevation.de>
date Thu, 12 Jan 2023 13:11:24 +0100
parents 0c4736d5dd4a
children e5b86f024141
comparison
equal deleted inserted replaced
9763:ce7c67445cbb 9764:b5d4cb088737
14 ENV DEM_DIR /opt/d4e-river/dgm 14 ENV DEM_DIR /opt/d4e-river/dgm
15 ENV DATA_ARCH demodaten_3.1.10-bis-3.2.x.tar.gz 15 ENV DATA_ARCH demodaten_3.1.10-bis-3.2.x.tar.gz
16 RUN mkdir -p $DEM_DIR 16 RUN mkdir -p $DEM_DIR
17 RUN curl -s "https://wald.intevation.org/frs/download.php/2282/$DATA_ARCH" | \ 17 RUN curl -s "https://wald.intevation.org/frs/download.php/2282/$DATA_ARCH" | \
18 tar -C $DEM_DIR --strip-components=1 --wildcards -xz 'demodaten/dem*.grd' 18 tar -C $DEM_DIR --strip-components=1 --wildcards -xz 'demodaten/dem*.grd'
19
20 # Volume for DEM data
21 VOLUME $DEM_DIR
19 22
20 23
21 WORKDIR /opt/d4e/src 24 WORKDIR /opt/d4e/src
22 ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/ 25 ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/
23 ENV BRANCH 3.2.x 26 ENV BRANCH 3.2.x

http://dive4elements.wald.intevation.org