Open
Description
Desktop:
- OS: macOS
- OS Version: Monterey 12.6.1
- App Version: 1.0.3
Describe the bug
When building the Docker image for initial run I get the following error:
#9 [ 6/14] RUN adduser -D -u 123332183 shift && mkdir /opt/shift && chown shift:shift /opt/shift
#9 sha256:b9919558db868d173fedc7c8fdf1889c99109bcfc1199f72ecde0a085c78ce01
#9 0.441 adduser: number 123332183 is not in 0..256000 range
#9 ERROR: executor failed running [/bin/sh -c adduser -D -u 123332183 shift && mkdir /opt/shift && chown shift:shift /opt/shift]: exit code: 1
My uid on my mac is 123332183
and it looks like it is trying to create a user with the same uid and failing.
I did find this which may be related:
https://stackoverflow.com/questions/41807026/cant-add-a-user-with-a-high-uid-in-docker-alpine
One of the answers suggests installing the shadow
package and using useradd
and groupadd
which have better support for high UIDs.