Mercurial > gemma
comparison Dockerfile @ 97:9c2b796d506f
Fix Docker build.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 08 Jun 2018 12:43:57 +0200 |
parents | d036e1bd5f00 |
children | 7f934f77831a |
comparison
equal
deleted
inserted
replaced
96:d036e1bd5f00 | 97:9c2b796d506f |
---|---|
28 | 28 |
29 # Expose the PostgreSQL port | 29 # Expose the PostgreSQL port |
30 EXPOSE 5432 | 30 EXPOSE 5432 |
31 | 31 |
32 # Create WAMOS role and database | 32 # Create WAMOS role and database |
33 ADD wamos.sql . | 33 ADD *.sql ./ |
34 RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \ | 34 RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \ |
35 psql -c "CREATE USER wamos PASSWORD 'wamos'" && \ | 35 psql -c "CREATE USER wamos PASSWORD 'wamos'" && \ |
36 createdb wamos && \ | 36 createdb wamos && \ |
37 psql -f wamos.sql -d wamos && \ | 37 psql -f wamos.sql -d wamos && \ |
38 psql -f auth.sql -d wamos && \ | 38 psql -f auth.sql -d wamos && \ |