Dockerfile aktualisiert
Some checks failed
Docker Build / Build amd64 & arm64 (push) Failing after 9s

This commit is contained in:
2026-02-04 23:55:55 +00:00
parent c2c9f04f0d
commit 15572e9e27

View File

@@ -7,9 +7,7 @@ ARG S6_OVERLAY_VERSION="3.2.2.0"
ARG ROOTFS=/root-out
ARG REL=v3.23
ARG MIRROR=http://dl-cdn.alpinelinux.org/alpine
ARG PACKAGES=alpine-baselayout,alpine-keys,apk-tools,busybox,libc-utils
RUN apk add --no-cache bash xz curl ca-certificates
ARG PACKAGES=alpine-baselayout,alpine-keys,apk-tools,busybox,libc-utils,bash,xz,curl,ca-certificates
# map arch
RUN case "${TARGETARCH}" in \
@@ -19,11 +17,7 @@ RUN case "${TARGETARCH}" in \
esac
# build rootfs
RUN mkdir -p "${ROOTFS}/etc/apk" && \
echo "${MIRROR}/${REL}/main" > "${ROOTFS}/etc/apk/repositories" && \
echo "${MIRROR}/${REL}/community" >> "${ROOTFS}/etc/apk/repositories" && \
apk --root "${ROOTFS}" --no-cache --keys-dir /etc/apk/keys add ${PACKAGES//,/ } && \
sed -i 's/^root::/root:!:/' "${ROOTFS}/etc/shadow"
RUN apk add --no-cache bash xz ${PACKAGES//,/ }
# s6 overlay
RUN ARCH="$(cat /arch)" && \