gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated (466aef4b -> 2652ebff)


From: gnunet
Subject: [libeufin] branch master updated (466aef4b -> 2652ebff)
Date: Tue, 26 Sep 2023 09:27:53 +0200

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

ms pushed a change to branch master
in repository libeufin.

    from 466aef4b Stop limiting token duration.
     new 0d7a6e27 Docker launcher.
     new 2652ebff Docker readme

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 contrib/docker-launcher/Dockerfile     | 20 ++++++++++++++++++++
 contrib/docker-launcher/README         |  2 ++
 contrib/docker-launcher/launch-bank.sh |  7 +++++++
 3 files changed, 29 insertions(+)
 create mode 100644 contrib/docker-launcher/Dockerfile
 create mode 100644 contrib/docker-launcher/README
 create mode 100755 contrib/docker-launcher/launch-bank.sh

diff --git a/contrib/docker-launcher/Dockerfile 
b/contrib/docker-launcher/Dockerfile
new file mode 100644
index 00000000..965aa0fb
--- /dev/null
+++ b/contrib/docker-launcher/Dockerfile
@@ -0,0 +1,20 @@
+FROM debian:stable
+
+RUN apt-get update
+RUN apt-get install -y openjdk-17-jre git curl postgresql python3-pip
+
+# Installation
+RUN git clone git://git.taler.net/libeufin
+WORKDIR /libeufin
+RUN ./bootstrap
+RUN ./configure --prefix=/usr/local
+RUN make install
+WORKDIR /
+COPY launch-bank.sh /launch-bank.sh
+RUN apt-get install -y sudo
+RUN grep -v ^host.*all /etc/postgresql/15/main/pg_hba.conf > 
/tmp/pg_hba_buf.txt
+RUN echo "host libeufincheck all 127.0.0.1/32 trust" >> /tmp/pg_hba_buf.txt
+RUN echo "host libeufincheck all ::1/128 trust" >> /tmp/pg_hba_buf.txt
+RUN cp /tmp/pg_hba_buf.txt /etc/postgresql/15/main/pg_hba.conf
+
+ENTRYPOINT ["/launch-bank.sh"]
diff --git a/contrib/docker-launcher/README b/contrib/docker-launcher/README
new file mode 100644
index 00000000..2b8fa3ec
--- /dev/null
+++ b/contrib/docker-launcher/README
@@ -0,0 +1,2 @@
+This Docker image is meant for debugging purposes.
+It installs and lauches the libeufin-bank.
diff --git a/contrib/docker-launcher/launch-bank.sh 
b/contrib/docker-launcher/launch-bank.sh
new file mode 100755
index 00000000..35b510fb
--- /dev/null
+++ b/contrib/docker-launcher/launch-bank.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+service postgresql start
+sudo -u postgres createuser -s root
+createdb libeufinbank
+libeufin-bank dbinit
+libeufin-bank serve

-- 
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]