mpfr
Source
FROM scratch AS build
ARG VERSION
COPY --from=stagex/core-busybox . /
COPY --from=stagex/core-llvm . /
COPY --from=stagex/core-libzstd . /
COPY --from=stagex/core-zlib . /
COPY --from=stagex/core-musl . /
COPY --from=stagex/core-make . /
COPY --from=stagex/core-gmp . /
ADD fetch/mpfr-${VERSION}.tar.bz2 .
WORKDIR /mpfr-${VERSION}
RUN --network=none <<-EOF
set -eux
./configure \
--prefix=/usr \
--disable-maintainer-mode \
--enable-shared
make -j "$(nproc)"
make DESTDIR=/rootfs install
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /
Copied to clipboard!