From dd24d1026322314e4f4f619ce31be4c5ee102ae9 Mon Sep 17 00:00:00 2001 From: Kyle Harrity Date: Wed, 12 Jul 2023 19:51:34 -0400 Subject: [PATCH] Update Dockerfile add -f option to groupadd command. This fixed an issue for me where the group in $GID already existed, preventing me from completing DockerBuild.sh on Linux Mint 19 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6827d782dd..ed14e9a719 100644 --- a/Dockerfile +++ b/Dockerfile @@ -86,7 +86,7 @@ ARG USER=root ARG UID=0 ARG GID=0 RUN [[ "$UID" != "0" ]] \ - && groupadd -g $GID $USER \ + && groupadd -f -g $GID $USER \ && useradd -u $UID -g $GID $USER # Using an entrypoint instead of CMD because the binary