comparison db_schema/Dockerfile @ 1162:e0a959e652c4 pgaudit

Remove creation of unused superuser and create missing directory.
author Tom Gottfried <tom@intevation.de>
date Tue, 08 Nov 2016 19:22:48 +0100
parents ea6b062e5305
children eefd0ca9e42f
comparison
equal deleted inserted replaced
1161:ea6b062e5305 1162:e0a959e652c4
62 # 62 #
63 # Use user postgres to run the next commands 63 # Use user postgres to run the next commands
64 # 64 #
65 USER postgres 65 USER postgres
66 66
67 RUN /etc/init.d/postgresql start && \ 67 # XXX: Seems to fail on initdb issued by package installation
68 psql --command "CREATE USER admin WITH SUPERUSER PASSWORD 'secret';" 68 # (due to /usr/sbin/policy-rc.d ?).
69 # See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739276
70 RUN mkdir /var/run/postgresql/9.5-main.pg_stat_tmp
69 71
70 # 72 #
71 # Adjust PostgreSQL configuration so that remote connections to the 73 # Adjust PostgreSQL configuration so that remote connections to the
72 # database are possible. 74 # database are possible.
73 # 75 #
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)