xmlto

Details
Source
FROM scratch AS build
ARG VERSION
COPY --from=stagex/core-perl . /
COPY --from=stagex/core-bash . /
COPY --from=stagex/core-gettext . /
COPY --from=stagex/core-musl . /
COPY --from=stagex/core-automake . /
COPY --from=stagex/core-autoconf . /
COPY --from=stagex/core-gcc . /
COPY --from=stagex/core-libxslt . /
COPY --from=stagex/core-docbook-xsl . /
COPY --from=stagex/core-busybox . /
COPY --from=stagex/core-zlib . /
COPY --from=stagex/core-perl-pod-parser . /
COPY --from=stagex/core-libtool . /
COPY --from=stagex/core-binutils . /
COPY --from=stagex/core-m4 . /
COPY --from=stagex/core-libxml2 . /
COPY --from=stagex/core-make . /
COPY --from=stagex/user-glib . /
COPY --from=stagex/user-perl-yaml-syck . /
ADD fetch/xmlto-${VERSION}.tar.gz .
WORKDIR /xmlto-${VERSION}
RUN --network=none <<-EOF
	set -eux
	autoreconf -vfi
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make -j "$(nproc)"
	make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /