diff docker/Dockerfile.db @ 2235:39586a34979c

LAYERS.WATERWAYPROFILES: Set max- and minResolution. Modelled after d4d.
author Bjoern Schilberg <bjoern@intevation.de>
date Wed, 13 Feb 2019 13:50:59 +0100
parents 8ed3a8fd2d2f
children 32441ac04c7c
line wrap: on
line diff
--- a/docker/Dockerfile.db	Wed Feb 13 12:45:48 2019 +0100
+++ b/docker/Dockerfile.db	Wed Feb 13 13:50:59 2019 +0100
@@ -15,6 +15,7 @@
     apt-key add - &&\
     apt-get update &&\
     apt-get -y install postgresql-11-postgis-2.5 postgresql-11-pgtap
+RUN apt-get -y install --no-install-recommends postgis xsltproc jq
 
 USER postgres
 ENV PGBIN /usr/lib/postgresql/11/bin
@@ -38,8 +39,9 @@
 WORKDIR /opt/gemma
 COPY schema/*.sql schema/*.sh ./
 COPY schema/demo-data ./demo-data/
+COPY schema/geonames-import ./geonames-import/
 RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \
-    ./install-db.sh --demo --metapw "geo2Serv" && \
+    ./install-db.sh --demo -G --metapw "geo2Serv" && \
     $PGBIN/pg_ctl stop -m smart
 
 # Set the default command to run when starting the container