mirror of
https://github.com/N0rthernL1ghts/s6-rootfs.git
synced 2024-11-27 06:30:04 +01:00
Use GNU wget for build stage
Minimalistic wget provided by Busybox is limited and often finicky
This commit is contained in:
parent
8f62fd1c61
commit
2428c26f85
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user