From 707e6cd2ada32802c3ca2e26bfe2527bcfe2e481 Mon Sep 17 00:00:00 2001 From: Kody Date: Wed, 13 Aug 2025 16:09:58 +0200 Subject: [PATCH] Fix "bad ownership or modes for directory /etc" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not the most elegent solution, but it works™ and should be fine in a container --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 0f68401..d305b9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,7 @@ label org.opencontainers.image.vendor='tangled.sh' label org.opencontainers.image.licenses='MIT' copy rootfs . +run chmod 755 /etc run chmod -R 755 /etc/s6-overlay run apk add shadow s6-overlay execline openssl openssh git curl bash run useradd -d /home/git git && openssl rand -hex 16 | passwd --stdin git -- 2.50.1