[postgis-tickets] r15006 - Pre-create the "root" PostgreSQL user in the build-test image

Sandro Santilli strk at kbt.io
Thu Jul 21 04:26:25 PDT 2016


Author: strk
Date: 2016-07-21 04:26:24 -0700 (Thu, 21 Jul 2016)
New Revision: 15006

Modified:
   trunk/docker/build-test/Dockerfile.trisquel
Log:
Pre-create the "root" PostgreSQL user in the build-test image

Modified: trunk/docker/build-test/Dockerfile.trisquel
===================================================================
--- trunk/docker/build-test/Dockerfile.trisquel	2016-07-21 09:46:20 UTC (rev 15005)
+++ trunk/docker/build-test/Dockerfile.trisquel	2016-07-21 11:26:24 UTC (rev 15006)
@@ -5,3 +5,4 @@
           xsltproc docbook-xsl docbook-mathml dblatex \
           libproj-dev libgdal-dev libgeos-dev libjson0-dev
 
+RUN service postgresql start && su -l postgres -c "createuser -s `whoami`"



More information about the postgis-tickets mailing list