From fbd0abbcb3af590e86d0159c7687fb578ab327ea Mon Sep 17 00:00:00 2001 From: Antoine Aflalo <197810+Belphemur@users.noreply.github.com> Date: Tue, 27 Aug 2024 20:03:14 -0400 Subject: [PATCH] ci: fix docker building --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b21736..4bae9c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,16 +3,15 @@ LABEL authors="Belphemur" ENV USER=abc ENV CONFIG_FOLDER=/config ENV PUID=99 -ENV PGID=100 -RUN mkdir -p "${CONFIG_FOLDER}" && addgroup -g "${PGID}" "${USER}" && adduser \ +RUN mkdir -p "${CONFIG_FOLDER}" && adduser \ --disabled-password \ --gecos "" \ --home "$(pwd)" \ - --ingroup "${USER}" \ + --ingroup "users" \ --no-create-home \ --uid "${PUID}" \ "${USER}" && \ - chown ${PUID}:${GUID} /config "${CONFIG_FOLDER}" + chown ${PUID}:${GUID} "${CONFIG_FOLDER}" COPY CBZOptimizer /usr/local/bin/CBZOptimizer