Mercurial > dive4elements > river
diff docker/Dockerfile.db @ 9777:f98e5c7775d2 3.2.x
Do not rely on scripts being executable
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 20 Jan 2023 12:22:24 +0100 |
parents | 0c4736d5dd4a |
children |
line wrap: on
line diff
--- a/docker/Dockerfile.db Fri Jan 20 11:31:13 2023 +0100 +++ b/docker/Dockerfile.db Fri Jan 20 12:22:24 2023 +0100 @@ -58,7 +58,7 @@ # Initialize database # Note that PostGIS legacy.sql is needed to support the outdated MapServer 6 RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \ - /opt/d4eriver_db/postgresql-setup.sh && \ + sh /opt/d4eriver_db/postgresql-setup.sh && \ psql -f ~/demodaten/d4e_demodata.dump.sql d4e && \ psql -d d4e -f /usr/share/postgresql/$PG_VERSION/contrib/postgis-3.1/legacy.sql && \ createuser -S -D -R seddb && \