summaryrefslogtreecommitdiff
path: root/historic/docker/base
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-17 21:20:12 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-17 21:20:12 +0100
commit21c6b40156db5a505215d4ce57fcab0ff6691300 (patch)
tree9dd8b61796c86e1b6694406ad3660cf64d00ce09 /historic/docker/base
parentbe061b4da9a8850412c216bdf49589e6951527c5 (diff)
downloaddeployment-21c6b40156db5a505215d4ce57fcab0ff6691300.tar.gz
deployment-21c6b40156db5a505215d4ce57fcab0ff6691300.tar.bz2
deployment-21c6b40156db5a505215d4ce57fcab0ff6691300.zip
move unmaintained files to historic/
Diffstat (limited to 'historic/docker/base')
-rw-r--r--historic/docker/base/Dockerfile54
-rw-r--r--historic/docker/base/README7
2 files changed, 61 insertions, 0 deletions
diff --git a/historic/docker/base/Dockerfile b/historic/docker/base/Dockerfile
new file mode 100644
index 0000000..39e2c32
--- /dev/null
+++ b/historic/docker/base/Dockerfile
@@ -0,0 +1,54 @@
+FROM debian:unstable
+
+RUN apt-get update && apt-get install -qqy \
+ git \
+ build-essential \
+ autoconf \
+ autopoint \
+ libtool \
+ libgcrypt20 \
+ libgcrypt20-dev \
+ libidn11-dev \
+ zlib1g-dev \
+ libunistring-dev \
+ libjansson-dev \
+ libpq-dev \
+ libmicrohttpd-dev \
+ libcurl4-gnutls-dev \
+ python3 \
+ python3-pip \
+ postgresql
+
+# Needed to run the config generator
+RUN pip3 install click
+
+ENV HOME /root
+
+RUN git clone https://gnunet.org/git/gnunet/ ~/gnunet \
+ && git clone https://gnunet.org/git/libmicrohttpd/ ~/libmicrohttpd \
+ && git clone git://taler.net/deployment ~/deployment
+
+WORKDIR $HOME/gnunet
+
+RUN ./bootstrap \
+ && ./configure --with-libgnurl=/usr/local/ \
+ && make \
+ && make install
+
+WORKDIR $HOME/libmicrohttpd
+
+RUN ./bootstrap \
+ && ./configure --disable-doc \
+ && make \
+ && make install
+
+# To run the config generator, need:
+WORKDIR $HOME/deployment
+
+ENV LD_LIBRARY_PATH "/usr/local/lib"
+
+RUN export TALER_CONFIG_ENV="test" \
+ && export TALER_CONFIG_CURRENCY="EUR" \
+ && export LC_ALL="C.UTF-8" \
+ && export LANG="C.UTF-8" \
+ && ./bin/taler-deployment-config-generate
diff --git a/historic/docker/base/README b/historic/docker/base/README
new file mode 100644
index 0000000..573f4ef
--- /dev/null
+++ b/historic/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
+- ...