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