Source

FROM stagex/pallet-clang-gnu-busybox AS build
COPY --from=stagex/core-docbook-xsl . /
COPY --from=stagex/core-perl-pod-parser . /
COPY --from=stagex/core-libxml2 . /
COPY --from=stagex/core-bash . /
COPY --from=stagex/core-ncurses . /
COPY --from=stagex/core-libxslt . /
COPY --from=stagex/user-glib . /
COPY --from=stagex/user-perl-yaml-syck . /
ARG VERSION
ADD fetch/xmlto-${VERSION}.tar.gz .
WORKDIR /xmlto-${VERSION}
RUN --network=none <<-EOF
	autoreconf -vfi
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
	make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /
Copied to clipboard!