From c04d282f6eda3f173eaaa1ebf5c22fa7501bced2 Mon Sep 17 00:00:00 2001 From: Tom Scott Date: Sat, 22 Nov 2025 21:21:01 -0500 Subject: [PATCH] fix adduser/group commands in spindle stage --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1639470..48a9ac3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,8 +56,8 @@ LABEL org.opencontainers.image.licenses="MIT" ARG UID=1000 ARG GID=1000 -RUN groupadd --system -g $GID -f spindle -RUN useradd --system -u $UID -g $GID spindle +RUN adduser --system --uid $UID spindle +RUN addgroup --system --gid $UID spindle RUN mkdir -p /app && chown -R spindle:spindle /app COPY --from=build-spindle /usr/bin/spindle /usr/bin -- 2.51.2