taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

libgnunet-builder.Containerfile (1287B)


      1 FROM taler-alpine-imaging/libmicrohttpd:builder
      2 
      3 WORKDIR /builder
      4 RUN git clone https://git.gnunet.org/gnunet.git gnunet --recursive -j 8
      5 WORKDIR /builder/gnunet
      6 # instead of bootstrap for a more minimal build
      7 RUN git submodule update --init --force --remote
      8 
      9 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
     10 ENV AUTOPOINT=autopoint
     11 
     12 RUN mkdir -p doc/handbook/texinfo/
     13 RUN touch doc/handbook/texinfo/gnunet.texi
     14 
     15 RUN autoreconf -fi
     16 RUN ./configure \
     17 		--prefix=/prefix/usr \
     18 		--with-microhttpd=/prefix/usr \
     19 		--sysconfdir=/prefix/etc \
     20 		--mandir=/prefix/usr/share/man \
     21 		--localstatedir=/prefix/var \
     22 		--disable-poisoning \
     23 		--enable-logging=verbose
     24 
     25 WORKDIR /builder/gnunet/src/include
     26 RUN make install
     27 WORKDIR /builder/gnunet/src/lib
     28 RUN make -j
     29 RUN make install
     30 
     31 LABEL org.opencontainers.image.title="LibGNUNet: Builder"
     32 LABEL org.opencontainers.image.description="The image that was used to build the matching :latest tag"
     33 LABEL org.opencontainers.image.source="https://git.taler.net/deployment.git/tree/packaging/docker-alpine/libgnunet-builder.Containerfile"
     34 LABEL org.opencontainers.image.authors="Nullptrderef <nullptrderef@proton.me>"