summaryrefslogtreecommitdiff
path: root/docker/gnunet
diff options
context:
space:
mode:
Diffstat (limited to 'docker/gnunet')
-rw-r--r--docker/gnunet/Dockerfile58
1 files changed, 58 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
+