DockeBuild.sh UID conflict #8480
Unanswered
alienkenny
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have some problems and I don't know what is the best approach.
After some attempts (change in Dockerfile libwebkit2gtk-4.0-dev > libwebkit2gtk-4.1-dev, not enough ram > create a bigger swap) now i got a conflict between raspberry pi UID and Docker Ubuntu UID, what should I do?
P.S. I'm still a beginer in Linux
:~/OrcaSlicer $ ./DockerBuild.sh
=> [11/12] RUN ./BuildLinux.sh -ir 30.3s
=> ERROR [12/12] RUN [[ "1000" != "0" ]] && groupadd -f -g 1000 pi && useradd -u 1000 -g 1000 pi 0.8s
2 warnings found (use docker --debug to expand):
Dockerfile:91
90 | ARG GID=0
91 | >>> RUN [[ "$UID" != "0" ]]
92 | >>> && groupadd -f -g $GID $USER
93 | >>> && useradd -u $UID -g $GID $USER
94 |
ERROR: failed to solve: process "/bin/bash -l -c [[ "$UID" != "0" ]] && groupadd -f -g $GID $USER && useradd -u $UID -g $GID $USER" did not complete successfully: exit code: 4
Beta Was this translation helpful? Give feedback.
All reactions