From 5483cf71bdb00b0729129774080aa6242821c96b Mon Sep 17 00:00:00 2001 From: Pallav Vasa Date: Fri, 23 May 2025 11:59:44 +0000 Subject: [PATCH] feat: remove secproc group and copy start.sh separately --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index ad398bd..f0bbdee 100644 --- a/Containerfile +++ b/Containerfile @@ -19,8 +19,7 @@ RUN pacman -Sy --noconfirm && \ # Create user/groups as per your script, with -l to avoid system user quirks RUN groupadd -g $DEV_GID $DEV_USER && \ - groupadd -g 2000 secproc && \ - useradd -l -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER + useradd -l -ms /bin/fish -u $DEV_UID -g $DEV_GID $DEV_USER # ──────────────────────── # Stage 2: Workspace Image @@ -36,6 +35,7 @@ ARG POD_UID=1002 # Use ADD for extracting archives ADD home.tar.gz $DEV_HOME +COPY --chmod=755 start.sh $DEV_HOME/ # Prepare .ssh and known_hosts, and fix permissions only if dirs exist RUN mkdir -p $DEV_HOME/.ssh && \