Files
s6-rootfs/Dockerfile.legacy
dependabot[bot] 5cccae10b9 Bump alpine from 3.22 to 3.23
Bumps alpine from 3.22 to 3.23.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: '3.23'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 10:03:58 +00:00

24 lines
709 B
Docker

# First stage - Download s6-overlay and unpack it
FROM alpine:3.23 AS downloader
ARG TARGETPLATFORM
# S6 Overlay
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 set -eux \
&& apk add --no-cache wget \
&& mkdir -p /s6-overlay \
&& 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
# Final stage
FROM scratch
LABEL maintainer="Aleksandar Puharic <aleksandar@puharic.com>"
COPY --from=downloader ["/s6-overlay/", "/"]