From 995e3bd009955737407e0879906e9e2cd896d689 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Thu, 15 Dec 2022 14:30:13 -0500 Subject: [PATCH] Allow for existing group --- Docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index 9f0fcdb2b..36cc30535 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -6,6 +6,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y build-essential ARG USER=docker ARG UID=1000 ARG GID=1000 -RUN groupadd -g ${GID} docker && useradd -ms /bin/bash ${USER} -u ${UID} -g ${GID} +RUN groupadd -f -g ${GID} docker && useradd -ms /bin/bash ${USER} -u ${UID} -g ${GID} USER ${UID}:${GID} \ No newline at end of file