# HG changeset patch # User Tom Gottfried # Date 1478629368 -3600 # Node ID 5a62a68bccf5ab3632afa934168bd64cfab858ee # Parent d3113d59401317f520c55a19075869a5b642e280 Remove creation of unused superuser and create missing directory. (grafted from e0a959e652c4e0a52e1ef0b0d8eaa60e217e6252) diff -r d3113d594013 -r 5a62a68bccf5 db_schema/Dockerfile --- a/db_schema/Dockerfile Fri Mar 24 12:02:06 2017 +0100 +++ b/db_schema/Dockerfile Tue Nov 08 19:22:48 2016 +0100 @@ -41,8 +41,10 @@ # USER postgres -RUN /etc/init.d/postgresql start && \ - psql --command "CREATE USER admin WITH SUPERUSER PASSWORD 'secret';" +# XXX: Seems to fail on initdb issued by package installation +# (due to /usr/sbin/policy-rc.d ?). +# See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739276 +RUN mkdir /var/run/postgresql/9.5-main.pg_stat_tmp # # Adjust PostgreSQL configuration so that remote connections to the