summaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile
blob: a21d2ef36a32a757329dd35cc6627e393f1c4f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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

RUN git clone https://gnunet.org/git/gnunet/ \
    && git clone https://gnunet.org/git/libmicrohttpd/ \
    && git clone git://taler.net/gnurl/

WORKDIR gnurl

RUN ./buildconf \
    && ./configure --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 --prefix=$HOME/local \
    && make \
    && make install

WORKDIR ../gnunet

RUN ./bootstrap \
    && ./configure --with-libgnurl=/usr/local/ \
    && make \
    && make install

WORKDIR ../libmicrohttpd

RUN ./bootstrap \
    && ./configure --disable-doc \
    && make \
    && make install