gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: SQL init file


From: gnunet
Subject: [taler-deployment] branch master updated: SQL init file
Date: Tue, 27 Sep 2022 20:18:09 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 15958df  SQL init file
15958df is described below

commit 15958dfa5347b6be0a707e2392a28d5cef8e3fea
Author: MS <ms@taler.net>
AuthorDate: Tue Sep 27 20:17:59 2022 +0200

    SQL init file
---
 docker/hybrid/images/postgres/Dockerfile | 5 +----
 docker/hybrid/images/postgres/init.sql   | 2 ++
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/docker/hybrid/images/postgres/Dockerfile 
b/docker/hybrid/images/postgres/Dockerfile
index 9f5cb69..e6e514d 100644
--- a/docker/hybrid/images/postgres/Dockerfile
+++ b/docker/hybrid/images/postgres/Dockerfile
@@ -1,7 +1,4 @@
 FROM postgres
 ENV POSTGRES_HOST_AUTH_METHOD=trust
 
-RUN echo "\
-CREATE ROLE root SUPERUSER;\n\
-CREATE DATABASE taler WITH OWNER root;\n\
-" > /docker-entrypoint-initdb.d/init.sql
+COPY init.sql /docker-entrypoint-initdb.d/init.sql
diff --git a/docker/hybrid/images/postgres/init.sql 
b/docker/hybrid/images/postgres/init.sql
new file mode 100644
index 0000000..81ab8b4
--- /dev/null
+++ b/docker/hybrid/images/postgres/init.sql
@@ -0,0 +1,2 @@
+CREATE ROLE root SUPERUSER;
+CREATE DATABASE taler WITH OWNER root;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]