parent
c2c7fca0ef
commit
815ce24e85
18
Dockerfile
18
Dockerfile
@ -10,3 +10,21 @@ COPY --from=gcc / /
|
|||||||
COPY --from=make / /
|
COPY --from=make / /
|
||||||
COPY --from=musl / /
|
COPY --from=musl / /
|
||||||
COPY --from=busybox / /
|
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/ /
|
||||||
|
Loading…
x
Reference in New Issue
Block a user