update to alpine 3.15
This commit is contained in:
parent
e78c2aa45c
commit
3ba6aff2d9
3 changed files with 14 additions and 27 deletions
16
Dockerfile
16
Dockerfile
|
@ -3,19 +3,19 @@ LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
|
|||
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
ENV S6_OVERLAY_VERSION=v3.0.0.2
|
||||
ENV SHA256_amd64=a4c039d1515812ac266c24fe3fe3c00c48e3401563f7f11d09ac8e8b4c2d0b0c
|
||||
ENV SHA256_aarch64=e6c15e22dde00af4912d1f237392ac43a1777633b9639e003ba3b78f2d30eb33
|
||||
ENV S6_OVERLAY_VERSION=3.0.0.2
|
||||
ENV SHA256_SUM=a4c039d1515812ac266c24fe3fe3c00c48e3401563f7f11d09ac8e8b4c2d0b0c
|
||||
|
||||
RUN apk --no-cache add \
|
||||
bash
|
||||
|
||||
ADD fetch-platform-rootfs /
|
||||
RUN ./fetch-platform-rootfs
|
||||
RUN mkdir /overlay
|
||||
RUN tar -xvf s6-overlay.tar.gz -C /overlay
|
||||
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
|
||||
|
||||
FROM alpine:3.14
|
||||
RUN mkdir /overlay
|
||||
RUN tar -xvf s6-overlay-x86_64-$S6_OVERLAY_VERSION.tar.xz -C /overlay
|
||||
|
||||
FROM alpine:3.15
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue