summaryrefslogtreecommitdiff
path: root/docker/base/Dockerfile
blob: a067cfeb1c356ae76411b7d4dd6b8993db348f81 (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
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

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

WORKDIR /gnunet

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

WORKDIR /libmicrohttpd

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