Allow for existing group

This commit is contained in:
Andras Fekete
2022-12-15 14:30:13 -05:00
parent c1cf8a8f34
commit 995e3bd009

View File

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