diff docker/Dockerfile.db @ 9716:c3afc0274bba 3.2.x

Improve Docker-based development setup _ Add demo DEMs and WSPLGEN to artifact server _ Do not unpack unused large DEM files into database image _ Improve README
author Tom Gottfried <tom@intevation.de>
date Mon, 22 Mar 2021 17:35:30 +0100
parents 537fe44f2792
children 13e2d38ad314
line wrap: on
line diff
--- a/docker/Dockerfile.db	Mon Mar 22 14:45:36 2021 +0100
+++ b/docker/Dockerfile.db	Mon Mar 22 17:35:30 2021 +0100
@@ -57,8 +57,8 @@
 # Go to postgres home for write permissions
 WORKDIR /var/lib/postgresql
 ENV DATA_ARCH demodaten_3.1.10-bis-3.2.x.tar.gz
-RUN curl -k "https://wald.intevation.org/frs/download.php/2282/$DATA_ARCH" | \
-    tar xz
+RUN curl -s "https://wald.intevation.org/frs/download.php/2282/$DATA_ARCH" | \
+    tar --wildcards -xz 'demodaten/*.dump.sql'
 
 ENV PGDATA /var/lib/postgresql/9.4/main
 RUN /usr/lib/postgresql/9.4/bin/pg_ctl start -wo "--config_file=$PGCONF" && \

http://dive4elements.wald.intevation.org