3 ENV DEBIAN_FRONTEND noninteractive
5 # Install tools and dependencies
6 RUN apt-get update && \
7 apt-get -y install --no-install-recommends \
29 apt-get clean all && \
30 apt-get -y autoremove && \
32 /var/lib/apt/lists/* \
36 ENV GNURL_VERSION=7.57.0
38 RUN wget -O /tmp/gnurl.tar.xz https://ftpmirror.gnu.org/gnu/gnunet/gnurl-${GNURL_VERSION}.tar.xz
40 tar xvf gnurl.tar.xz && \
41 cd gnurl-${GNURL_VERSION} && \
47 --without-libmetalink \
76 ENV GNUNET_PREFIX /usr/local/gnunet
77 ENV CFLAGS '-g -Wall -O0'
85 --prefix="$GNUNET_PREFIX" \
86 --enable-logging=verbose && \
94 COPY ./contrib/docker/gnunet.conf /etc/gnunet.conf
95 COPY ./contrib/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
96 RUN chmod 755 /usr/local/bin/docker-entrypoint
98 ENV LOCAL_PORT_RANGE='40001 40200'
99 ENV PATH "$GNUNET_PREFIX/bin:/usr/local/bin:$PATH"
101 ENTRYPOINT ["docker-entrypoint"]