summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/gnunet/Dockerfile58
-rw-r--r--docker/taler-full/Dockerfile36
2 files changed, 94 insertions, 0 deletions
diff --git a/docker/gnunet/Dockerfile b/docker/gnunet/Dockerfile
new file mode 100644
index 0000000..13dec5a
--- /dev/null
+++ b/docker/gnunet/Dockerfile
@@ -0,0 +1,58 @@
+FROM debian:jessie
+
+ENV PREFIX=/usr
+
+RUN apt-get update && apt-get install -y \
+ git subversion \
+ make \
+ autoconf autopoint libtool texinfo \
+ libgcrypt-dev libidn11-dev zlib1g-dev libunistring-dev \
+ libjansson-dev \
+ libsqlite3-dev \
+ libpq-dev postgresql \
+ \
+ && \
+ rm -rf /var/lib/apt/lists/*
+
+
+#
+# Build gnurl
+#
+RUN \
+ mkdir /build && cd /build && \
+ git clone git://taler.net/gnurl.git && \
+ cd gnurl && \
+ ./buildconf && \
+ ./configure --prefix=$PREFIX --enable-ipv6 --with-gnutls --without-libssh2 --without-libmetalink --without-winidn --without-librtmp --without-nghttp2 --without-nss --without-cyassl --without-polarssl --without-ssl --without-winssl --without-darwinssl --disable-sspi --disable-ntlm-wb --disable-ldap --disable-rtsp --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-gopher --disable-file --disable-ftp --disable-smb && \
+ make && \
+ make install && \
+ rm -rf /build
+
+
+#
+# Build mhd
+#
+RUN \
+ mkdir /build && cd /build && \
+ svn checkout https://gnunet.org/svn/libmicrohttpd && \
+ cd libmicrohttpd && \
+ ./bootstrap && \
+ ./configure --prefix=$PREFIX && \
+ make && \
+ make install && \
+ rm -rf /build
+
+
+#
+# Build gnunet
+#
+RUN \
+ mkdir /build && cd /build && \
+ svn checkout https://gnunet.org/svn/gnunet && \
+ cd gnunet && \
+ ./bootstrap && \
+ ./configure --prefix=$PREFIX && \
+ make && \
+ make install && \
+ rm -rf /build
+
diff --git a/docker/taler-full/Dockerfile b/docker/taler-full/Dockerfile
new file mode 100644
index 0000000..4ec4e89
--- /dev/null
+++ b/docker/taler-full/Dockerfile
@@ -0,0 +1,36 @@
+FROM fldold/gnunet
+
+ENV PREFIX=/usr
+
+RUN apt-get update && apt-get install -y \
+ python3-pip \
+ \
+ && \
+ rm -rf /var/lib/apt/lists/*
+
+#
+# Build exchange
+#
+RUN mkdir /build && cd /build && \
+ git clone git://taler.net/exchange.git && \
+ cd exchange && \
+ ./bootstrap && ./configure --prefix=$PREFIX && make && make install && \
+ rm -rf /build
+
+#
+# Build merchant
+#
+RUN mkdir /build && cd /build && \
+ git clone git://taler.net/merchant.git && \
+ cd merchant && \
+ ./bootstrap && ./configure --prefix=$PREFIX && make && make install && \
+ rm -rf /build
+
+#
+# Build bank
+#
+RUN mkdir /build && cd /build && \
+ git clone git://taler.net/bank.git && \
+ cd bank && \
+ ./bootstrap && ./configure --prefix=$PREFIX && make && make install && \
+ rm -rf /build