From 2428c26f8560337d168b7de22408f68fbfa61ccd Mon Sep 17 00:00:00 2001 From: xZero707 Date: Sun, 30 Jan 2022 04:15:55 +0100 Subject: [PATCH] Use GNU wget for build stage Minimalistic wget provided by Busybox is limited and often finicky --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 79f0d0a..a858272 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ ARG S6_OVERLAY_VERSION ARG S6_OVERLAY_RELEASE ARG S6_OVERLAY_RELEASE_URL="${S6_OVERLAY_RELEASE}/v${S6_OVERLAY_VERSION}/s6-overlay-${TARGETPLATFORM}-${S6_OVERLAY_VERSION}.tar.xz" -RUN wget -O /s6overlay-bin.tar.xz "$(echo ${S6_OVERLAY_RELEASE_URL} | sed 's/linux\///g' | sed 's/amd64/x86_64/g' | sed 's/arm64/aarch64/g' | sed 's/arm\/v7/armhf/g')" +RUN apk add --no-cache wget \ + && wget -O /s6overlay-bin.tar.xz "$(echo ${S6_OVERLAY_RELEASE_URL} | sed 's/linux\///g' | sed 's/amd64/x86_64/g' | sed 's/arm64/aarch64/g' | sed 's/arm\/v7/armhf/g')" # Third stage - Build rootfs from s6 parts