From 15572e9e275f58294496197dae78d60e8274d952 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" Date: Wed, 4 Feb 2026 23:55:55 +0000 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9a97d80..d5f2065 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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)" && \