tcl

Details
Source
FROM scratch AS build
ARG VERSION
COPY --from=stagex/core-bash . /
COPY --from=stagex/core-binutils . /
COPY --from=stagex/core-pkgconf . /
COPY --from=stagex/core-busybox . /
COPY --from=stagex/core-make . /
COPY --from=stagex/core-musl . /
COPY --from=stagex/core-gcc . /
ADD fetch/tcl-${VERSION}.tar.gz .
WORKDIR /tcl${VERSION}/unix
RUN --network=none <<-EOF
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-64bit
	make -j "$(nproc)"
	make DESTDIR=/rootfs install install-private-headers
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /