nettle
Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
COPY --from=stagex/core-gmp . /
ADD fetch/nettle-${VERSION}.tar.gz .
WORKDIR /nettle-nettle_${VERSION}
RUN --network=none <<-EOF
set -eux
autoreconf -vfi
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--enable-public-key
make -j "$(nproc)"
DESTDIR=/rootfs make install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /