libfaketime

Details
Source
FROM scratch AS build
ARG VERSION
COPY --from=stagex/core-busybox . /
COPY --from=stagex/core-gcc . /
COPY --from=stagex/core-binutils . /
COPY --from=stagex/core-make . /
COPY --from=stagex/core-musl . /
ADD fetch/libfaketime-${VERSION}.tar.gz .
WORKDIR /libfaketime-${VERSION}
ENV CFLAGS="-D_LARGEFILE64_SOURCE"
RUN --network=none <<-EOF
	set -eux
	make -j "$(nproc)" PREFIX=/usr
	make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /