aboutsummaryrefslogtreecommitdiff
path: root/contrib/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Dockerfile')
-rw-r--r--contrib/Dockerfile57
1 files changed, 0 insertions, 57 deletions
diff --git a/contrib/Dockerfile b/contrib/Dockerfile
deleted file mode 100644
index 974e41a5e..000000000
--- a/contrib/Dockerfile
+++ /dev/null
@@ -1,57 +0,0 @@
1from fedora:26
2
3# Install the required build tools
4RUN dnf -y update && dnf -y install which git automake texinfo gettext-devel autoconf libtool libtool-ltdl-devel libidn-devel libunistring-devel glpk libextractor-devel libmicrohttpd-devel gnutls libgcrypt-devel jansson-devel sqlite-devel npm
5
6WORKDIR /usr/src
7
8# Install gnurl
9RUN wget https://ftp.gnu.org/gnu/gnunet/gnurl-7.59.0.tar.gz
10RUN tar xvzpf gnurl-7.59.0.tar.gz
11WORKDIR /usr/src/gnurl-7.59.0
12RUN autoreconf -i
13RUN ./configure --disable-ntlm-wb
14RUN make install
15WORKDIR /usr/src
16
17RUN dnf -y install wget flex bison
18
19# Install libpbc
20RUN wget https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
21RUN tar xvzpf pbc-0.5.14.tar.gz
22WORKDIR /usr/src/pbc-0.5.14
23RUN ./configure --prefix=/usr
24RUN make install
25WORKDIR /usr/src
26
27RUN dnf -y install glib2-devel
28
29# Install libbswabe
30RUN git clone https://github.com/schanzen/libgabe.git
31WORKDIR /usr/src/libgabe
32RUN ./configure --prefix=/usr
33RUN make install
34
35# Install WebUI
36WORKDIR /usr/src/
37RUN git clone https://github.com/schanzen/gnunet-webui.git
38WORKDIR /usr/src/gnunet-webui
39RUN git checkout gnuidentity
40
41RUN mkdir /usr/src/gnunet
42WORKDIR /usr/src/gnunet
43ADD . .
44ARG NUM_JOBS
45RUN ./bootstrap
46RUN ./configure --prefix=/usr/local
47RUN make -j$NUM_JOBS
48RUN make install
49
50RUN groupadd gnunetdns
51RUN adduser -S -m -h /var/lib/gnunet gnunet
52RUN chown gnunet:gnunet /var/lib/gnunet
53RUN echo '[arm]\nSYSTEM_ONLY = YES\nUSER_ONLY = NO\n' > /etc/gnunet.conf
54
55ADD docker-entrypoint.sh .
56
57CMD ["sh", "docker-entrypoint.sh"]