install noarch s6 overlay too
This commit is contained in:
parent
3ba6aff2d9
commit
56a67fea3f
@ -4,16 +4,21 @@ LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
|
|||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
|
||||||
ENV S6_OVERLAY_VERSION=3.0.0.2
|
ENV S6_OVERLAY_VERSION=3.0.0.2
|
||||||
|
ENV SHA256_SUM_NOARCH=17880e4bfaf6499cd1804ac3a6e245fd62bc2234deadf8ff4262f4e01e3ee521
|
||||||
ENV SHA256_SUM=a4c039d1515812ac266c24fe3fe3c00c48e3401563f7f11d09ac8e8b4c2d0b0c
|
ENV SHA256_SUM=a4c039d1515812ac266c24fe3fe3c00c48e3401563f7f11d09ac8e8b4c2d0b0c
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
bash
|
bash
|
||||||
|
|
||||||
|
RUN wget "https://github.com/just-containers/s6-overlay/releases/download/v$S6_OVERLAY_VERSION/s6-overlay-noarch-$S6_OVERLAY_VERSION.tar.xz"
|
||||||
|
RUN echo "$SHA256_SUM_NOARCH s6-overlay-noarch-$S6_OVERLAY_VERSION.tar.xz" | sha256sum -c - || exit 1
|
||||||
|
|
||||||
RUN wget "https://github.com/just-containers/s6-overlay/releases/download/v$S6_OVERLAY_VERSION/s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz"
|
RUN wget "https://github.com/just-containers/s6-overlay/releases/download/v$S6_OVERLAY_VERSION/s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz"
|
||||||
RUN echo "$SHA256_SUM s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz" | sha256sum -c - || exit 1
|
RUN echo "$SHA256_SUM s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz" | sha256sum -c - || exit 1
|
||||||
|
|
||||||
RUN mkdir /overlay
|
RUN mkdir /overlay
|
||||||
RUN tar -xvf s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz -C /overlay
|
RUN tar -Jxpf s6-overlay-noarch-$S6_OVERLAY_VERSION.tar.xz -C /overlay
|
||||||
|
RUN tar -Jxpf s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz -C /overlay
|
||||||
|
|
||||||
FROM alpine:3.15
|
FROM alpine:3.15
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user