From aa2893397c816ce8e05f707832e0fb36abd1aed7 Mon Sep 17 00:00:00 2001 From: Kody Date: Wed, 13 Aug 2025 14:09:58 +0000 Subject: [PATCH] Fix "bad ownership or modes for directory /etc" Not the most elegent solution, but it works™ and should be fine in a container --- Dockerfile | 1 + 1 file(s) changed, 1 insertion(s)(+), 0 deletion(s)(-) diff --git a/Dockerfile b/Dockerfile --- 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 -- tangled.sh