libarchive
Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
ADD fetch/libarchive-${VERSION}.tar.xz .
WORKDIR /libarchive-${VERSION}
RUN --network=none <<-EOF
set -ex
./configure \
--prefix=/usr \
--without-xml2
make -j "$(nproc)"
make DESTDIR="/rootfs" install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /