From 7141682abb8316ec5a44c29da8c6d5c07f99c1df Mon Sep 17 00:00:00 2001 From: Niklas Haiden Date: Sun, 5 Oct 2025 18:15:40 +0200 Subject: [PATCH] lets see if this works --- Containerfile | 2 +- build.sh | 3 ++- build_files/docker.conf | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 build_files/docker.conf diff --git a/Containerfile b/Containerfile index 530fcc4..dacc7c8 100644 --- a/Containerfile +++ b/Containerfile @@ -5,7 +5,7 @@ COPY build.sh /build.sh FROM quay.io/centos-bootc/centos-bootc:c10s COPY repos/docker-ce.repo /etc/yum.repos.d/docker-ce.repo - +COPY build_files/docker.conf /usr/lib/sysusers.d/docker.conf RUN --mount=type=tmpfs,dst=/var \ --mount=type=tmpfs,dst=/tmp \ diff --git a/build.sh b/build.sh index 37db5d9..db60862 100755 --- a/build.sh +++ b/build.sh @@ -89,7 +89,8 @@ if rpm -q docker-ce >/dev/null; then fi -rm -rf /etc/group + +# rm -rf /etc/group # 6. Disable Docker repository to prevent runtime updates echo "Docker CE installation complete!" diff --git a/build_files/docker.conf b/build_files/docker.conf new file mode 100644 index 0000000..f6cd589 --- /dev/null +++ b/build_files/docker.conf @@ -0,0 +1 @@ +g docker 951