From 815ce24e8509b791d190676ab2208d12c1a12f02 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin <3679080+adr1enbe4udou1n@users.noreply.github.com> Date: Fri, 6 Jun 2025 18:29:08 +0200 Subject: [PATCH] init --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Dockerfile b/Dockerfile index f428b79..39d6239 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,3 +10,21 @@ COPY --from=gcc / / COPY --from=make / / COPY --from=musl / / COPY --from=busybox / / + +FROM bootstrap-c-toolchain AS build-make + +RUN wget https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz -O make.tar.gz + +RUN tar -xzf make.tar.gz --strip-components=1 && \ + mkdir build && \ + cd build && \ + ../configure --prefix=/usr --without-guile + +RUN cd build && \ + make -j$(nproc) + +RUN cd build && \ + make DESTDIR=/rootfs install + +FROM bootstrap-c-toolchain AS final +COPY --from=build-make /rootfs/ /