From 17f63a6757538bc4c6cdcb74018664eb2c6be447 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin <3679080+adr1enbe4udou1n@users.noreply.github.com> Date: Sat, 7 Jun 2025 22:12:03 +0200 Subject: [PATCH] fix wget --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05b7407..55d4e91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ARG VERSION=4.4.1 WORKDIR /source -RUN wget https://ftp.gnu.org/gnu/make/make-${VERSION}.tar.gz -O make.tar.gz +ADD https://ftp.gnu.org/gnu/make/make-${VERSION}.tar.gz make.tar.gz RUN tar -xzf make.tar.gz --strip-components=1 && \ mkdir build && \ @@ -39,7 +39,7 @@ ARG VERSION=2.44 WORKDIR /source -RUN wget https://ftp.gnu.org/gnu/binutils/binutils-${VERSION}.tar.xz -O binutils.tar.xz +ADD https://ftp.gnu.org/gnu/binutils/binutils-${VERSION}.tar.xz binutils.tar.xz RUN tar -xJf binutils.tar.xz --strip-components=1 && \ ./configure \ @@ -66,10 +66,10 @@ ARG MPC_VERSION=1.3.1 WORKDIR /source -RUN wget https://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.xz -O gcc.tar.xz -RUN wget https://ftp.gnu.org/gnu/mpfr/mpfr-${MPFR_VERSION}.tar.xz -O mpfr.tar.xz -RUN wget https://ftp.gnu.org/gnu/gmp/gmp-${GMP_VERSION}.tar.xz -O gmp.tar.xz -RUN wget https://ftp.gnu.org/gnu/mpc/mpc-${MPC_VERSION}.tar.gz -O mpc.tar.gz +ADD https://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.xz gcc.tar.xz +ADD https://ftp.gnu.org/gnu/mpfr/mpfr-${MPFR_VERSION}.tar.xz mpfr.tar.xz +ADD https://ftp.gnu.org/gnu/gmp/gmp-${GMP_VERSION}.tar.xz gmp.tar.xz +ADD https://ftp.gnu.org/gnu/mpc/mpc-${MPC_VERSION}.tar.gz mpc.tar.gz RUN mkdir mpfr && \ tar -xJf mpfr.tar.xz --strip-components=1 -C mpfr && \ @@ -123,7 +123,7 @@ ARG VERSION=6.12.21 WORKDIR /source -RUN wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${VERSION}.tar.xz -O linux.tar.xz +ADD https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${VERSION}.tar.xz linux.tar.xz RUN tar -xJf linux.tar.xz --strip-components=1 @@ -145,7 +145,7 @@ ARG VERSION=1.2.5 WORKDIR /source -RUN wget https://www.musl-libc.org/releases/musl-${VERSION}.tar.gz -O musl.tar.gz +ADD https://www.musl-libc.org/releases/musl-${VERSION}.tar.gz musl.tar.gz RUN tar -xzf musl.tar.gz --strip-components=1 && \ mkdir build && \ @@ -173,7 +173,7 @@ USER root WORKDIR /source -RUN wget https://dl.google.com/go/go${VERSION}.src.tar.gz -O go.src.tar.gz +ADD https://dl.google.com/go/go${VERSION}.src.tar.gz go.src.tar.gz RUN tar -xzf go.src.tar.gz --strip-components=1 && \ rm go.src.tar.gz