From b52a3b284a0cd485680d22c8ff6af7ae303be5c7 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Sun, 13 Nov 2016 22:54:10 +0100 Subject: (initial) base for docker deployment --- docker/base/Dockerfile | 16 ++++++++++++++++ docker/base/README | 7 +++++++ docker/postgres/README | 1 + docker/taler-full/README | 17 ++--------------- 4 files changed, 26 insertions(+), 15 deletions(-) create mode 100644 docker/base/Dockerfile create mode 100644 docker/base/README create mode 100644 docker/postgres/README (limited to 'docker') diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile new file mode 100644 index 0000000..4e07834 --- /dev/null +++ b/docker/base/Dockerfile @@ -0,0 +1,16 @@ +FROM debian:stable + +RUN apt-get update && apt-get install -y \ + git \ + build-essential \ + autoconf \ + autopoint \ + libtool \ + libgcrypt20 \ + libidn11-dev \ + zlib1g-dev \ + libunistring-dev \ + libjansson-dev \ + libpq-dev + +RUN git clone https://gnunet.org/gnunet/ diff --git a/docker/base/README b/docker/base/README new file mode 100644 index 0000000..573f4ef --- /dev/null +++ b/docker/base/README @@ -0,0 +1,7 @@ +This image serves as a basis to build exchange and merchant +backend. It is responsible for installing the following packages: + +- GNUnet +- Libjansson +- Postgres +- ... diff --git a/docker/postgres/README b/docker/postgres/README new file mode 100644 index 0000000..0f332a6 --- /dev/null +++ b/docker/postgres/README @@ -0,0 +1 @@ +This container is to run Postgres service diff --git a/docker/taler-full/README b/docker/taler-full/README index 77c66db..d5316aa 100644 --- a/docker/taler-full/README +++ b/docker/taler-full/README @@ -1,15 +1,2 @@ -Build the image corresponding to the Dockerfile in this directory -by issuing (from this directory): - -$ docker build -t taler . - -Then instantiate the exchange's container with the following command: - -$ docker run taler launch_exchange - -and the merchant container with the following command: - -$ docker run taler launch_merchant - -Please note that the communication between containers is still to be -configured +OBSOLETE. Kept around for the sole purpose of grasping +commands from it. -- cgit v1.2.3