From b24467ab89db285628c0baf431b113a6a603e349 Mon Sep 17 00:00:00 2001 From: Ryan Steed Date: Mon, 3 Nov 2025 22:17:40 +0000 Subject: [PATCH] fix: update containerfile user/group management commands (#379) - Replace `addgroup` with `groupadd` for system group creation - Replace `adduser` with `useradd` for system user creation - Maintain same functionality while using more standard POSIX commands --- docker/llama-swap.Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/llama-swap.Containerfile b/docker/llama-swap.Containerfile index 6be5003..29f3580 100644 --- a/docker/llama-swap.Containerfile +++ b/docker/llama-swap.Containerfile @@ -13,9 +13,9 @@ ARG USER_HOME=/app ENV HOME=$USER_HOME RUN if [ $UID -ne 0 ]; then \ if [ $GID -ne 0 ]; then \ - addgroup --system --gid $GID app; \ + groupadd --system --gid $GID app; \ fi; \ - adduser --system --no-create-home --uid $UID --gid $GID \ + useradd --system --uid $UID --gid $GID \ --home $USER_HOME app; \ fi