mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-10 21:08:59 +08:00
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:
parent
37c230c499
commit
dd24d10263
@ -86,7 +86,7 @@ ARG USER=root
|
|||||||
ARG UID=0
|
ARG UID=0
|
||||||
ARG GID=0
|
ARG GID=0
|
||||||
RUN [[ "$UID" != "0" ]] \
|
RUN [[ "$UID" != "0" ]] \
|
||||||
&& groupadd -g $GID $USER \
|
&& groupadd -f -g $GID $USER \
|
||||||
&& useradd -u $UID -g $GID $USER
|
&& useradd -u $UID -g $GID $USER
|
||||||
|
|
||||||
# Using an entrypoint instead of CMD because the binary
|
# Using an entrypoint instead of CMD because the binary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user