blob: 667bffa50b80435d9b2fc51a120f5d2f989d8853 (
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 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 <nullptrderef@proton.me>"
|