libmnl
Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
ADD fetch/libmnl-${VERSION}.tar.bz2 .
WORKDIR /libmnl-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-static
make -j "$(nproc)"
make install DESTDIR=/rootfs
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /