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
This commit is contained in:
Kyle Harrity 2023-07-12 19:51:34 -04:00 committed by Lane.Wei
parent 37c230c499
commit dd24d10263

View file

@ -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