switch back to alpine-version 3.23
Some checks failed
Docker Build / build (push) Failing after 16s

This commit is contained in:
2026-02-04 17:04:35 +01:00
parent 4baa2a14f2
commit db0f6ee025
3 changed files with 7 additions and 12 deletions

View File

@@ -1,10 +1,10 @@
# syntax=docker/dockerfile:1
FROM alpine:3.21 AS rootfs-stage
FROM alpine:3.23 AS rootfs-stage
ARG S6_OVERLAY_VERSION="3.2.2.0"
ARG ROOTFS=/root-out
ARG REL=v3.21
ARG REL=v3.23
ARG ARCH=aarch64
ARG MIRROR=http://dl-cdn.alpinelinux.org/alpine
ARG PACKAGES=alpine-baselayout,\
@@ -22,17 +22,12 @@ RUN \
# build rootfs
RUN \
mkdir -p "${ROOTFS}/etc/apk" && \
cp -a /etc/apk/keys "${ROOTFS}/etc/apk/" && \
{ \
echo "${MIRROR}/${REL}/main"; \
echo "${MIRROR}/${REL}/community"; \
} > "${ROOTFS}/etc/apk/repositories" && \
apk --root "${ROOTFS}" \
--no-cache \
--arch ${ARCH} \
--initdb \
add ${PACKAGES//,/ } && \
sed -i -e 's/^root::/root:!:/' "${ROOTFS}/etc/shadow"
apk --root "${ROOTFS}" --no-cache --keys-dir /etc/apk/keys add --arch ${ARCH} --initdb ${PACKAGES//,/ } && \
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
# add s6 overlay
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp