Fix broken legacy support

This commit is contained in:
Aleksandar Puharic 2022-01-30 04:15:47 +01:00
parent c7b2b519a3
commit 8f62fd1c61
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -7,11 +7,13 @@ FROM --platform=${TARGETPLATFORM} alpine:${DOWNLOADER_ALPINE_VERSION} AS downloa
ARG TARGETPLATFORM
# S6 Overlay
ARG S6_OVERLAY_VERSION="v2.2.0.3"
ARG S6_OVERLAY_RELEASE="https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${TARGETPLATFORM}.tar.gz"
ARG S6_OVERLAY_VERSION="2.2.0.3"
ARG S6_OVERLAY_RELEASE="https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${TARGETPLATFORM}.tar.gz"
RUN wget -O /tmp/s6overlay.tar.gz $(echo ${S6_OVERLAY_RELEASE} | sed 's/linux\///g' | sed 's/arm64/aarch64/g' | sed 's/arm\/v7/armhf/g') \
&& mkdir -p /s6-overlay \
WORKDIR "/s6-overlay/"
RUN apk add --no-cache wget tar gzip \
&& wget -O /tmp/s6overlay.tar.gz $(echo ${S6_OVERLAY_RELEASE} | sed 's/linux\///g' | sed 's/arm64/aarch64/g' | sed 's/arm\/v7/armhf/g') \
&& tar xzf /tmp/s6overlay.tar.gz -C /s6-overlay