From 9185a2da284222f5d1b04a1890342527c2250b0d Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Tue, 13 Sep 2022 12:40:53 +0200 Subject: [PATCH] Fix musl Fix musl Signed-off-by: Bensuperpc --- linux-arm64-musl/Dockerfile.in | 2 +- linux-armv6-musl/Dockerfile.in | 2 +- linux-armv7l-musl/Dockerfile.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-arm64-musl/Dockerfile.in b/linux-arm64-musl/Dockerfile.in index 7862295..19cf1c1 100644 --- a/linux-arm64-musl/Dockerfile.in +++ b/linux-arm64-musl/Dockerfile.in @@ -5,7 +5,7 @@ ENV CROSS_TRIPLE aarch64-linux-musl ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross RUN mkdir -p ${XCC_PREFIX} -RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz +RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \ diff --git a/linux-armv6-musl/Dockerfile.in b/linux-armv6-musl/Dockerfile.in index 49a8171..2cf5d27 100644 --- a/linux-armv6-musl/Dockerfile.in +++ b/linux-armv6-musl/Dockerfile.in @@ -5,7 +5,7 @@ ENV CROSS_TRIPLE armv6-linux-musleabihf ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross RUN mkdir -p ${XCC_PREFIX} -RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz +RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \ diff --git a/linux-armv7l-musl/Dockerfile.in b/linux-armv7l-musl/Dockerfile.in index d35c593..0282640 100644 --- a/linux-armv7l-musl/Dockerfile.in +++ b/linux-armv7l-musl/Dockerfile.in @@ -5,7 +5,7 @@ ENV CROSS_TRIPLE armv7l-linux-musleabihf ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross RUN mkdir -p ${XCC_PREFIX} -RUN curl -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz +RUN curl --max-time 15 --retry 5 -LO http://musl.cc/${CROSS_TRIPLE}-cross.tgz RUN tar -C ${XCC_PREFIX} -xvf ${CROSS_TRIPLE}-cross.tgz ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \