mtools

Details
Source
FROM stagex/pallet-gcc-gnu-busybox AS build
ARG VERSION
ADD fetch/mtools-${VERSION}.tar.bz2 .
WORKDIR /mtools-${VERSION}
ENV FORCE_UNSAFE_CONFIGURE=1
RUN --network=none <<-EOF
	set -ex
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
    --sysconfdir=/etc/mtools \
    --without-x
	make -j "$(nproc)"
	make DESTDIR="/rootfs" install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /