FROM taler-alpine-imaging/libmicrohttpd:builder WORKDIR /builder RUN git clone https://git.gnunet.org/gnunet.git gnunet --recursive -j 8 WORKDIR /builder/gnunet # instead of bootstrap for a more minimal build RUN git submodule update --init --force --remote RUN apk add gettext gettext-dev gettext-static gettext-libs py3-gettext libgcrypt libgcrypt-dev jansson jansson-dev libsodium libsodium-dev libunistring libunistring-dev libpq libpq-dev ENV AUTOPOINT=autopoint RUN mkdir -p doc/handbook/texinfo/ RUN touch doc/handbook/texinfo/gnunet.texi RUN autoreconf -fi RUN ./configure \ --prefix=/prefix/usr \ --with-microhttpd=/prefix/usr \ --sysconfdir=/prefix/etc \ --mandir=/prefix/usr/share/man \ --localstatedir=/prefix/var \ --disable-poisoning \ --enable-logging=verbose WORKDIR /builder/gnunet/src/include RUN make install WORKDIR /builder/gnunet/src/lib RUN make -j RUN make install LABEL org.opencontainers.image.title="LibGNUNet: Builder" LABEL org.opencontainers.image.description="The image that was used to build the matching :latest tag" LABEL org.opencontainers.image.source="https://git.taler.net/deployment.git/tree/packaging/docker-alpine/libgnunet-builder.Containerfile" LABEL org.opencontainers.image.authors="Nullptrderef "