libcap-ng

Source

FROM stagex/pallet-clang-gnu-busybox AS build
COPY --from=stagex/core-fmt . /
ARG VERSION
ADD fetch/libcap-ng-${VERSION}.tar.gz .
WORKDIR /libcap-ng-${VERSION}
RUN --network=none <<-EOF
	set -eux
	./autogen.sh
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-python \
		--without-python3 \
    --enable-static \
		--enable-shared
	make
	make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /
Copied to clipboard!