changed Dockerfile.aarch64 build for rootfs-stage
Some checks failed
Docker Build / build (push) Failing after 11s

This commit is contained in:
2026-02-04 13:53:38 +01:00
parent 3ae78a1a29
commit 7c8cb991b2

View File

@@ -22,12 +22,17 @@ 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 --keys-dir /etc/apk/keys add --arch ${ARCH} --initdb ${PACKAGES//,/ } && \
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
apk --root "${ROOTFS}" \
--no-cache \
--arch ${ARCH} \
--initdb \
add ${PACKAGES//,/ } && \
sed -i -e 's/^root::/root:!:/' "${ROOTFS}/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