Dockerfile - useradd command invalid while building.
flamesage opened this issue · comments
The following command is executed within the following files:
dockerfiles / syncthing / Dockerfile
dockerfiles / syncthing / Dockerfile.supervisord
Had to change the following line
RUN useradd --no-create-home -g users -uid 22000 syncthing
to
RUN useradd --no-create-home -g users -u 22000 syncthing
to fix the follwing error.
useradd: invalid user ID 'id'
The command [/bin/sh -c useradd --no-create-home -g users -uid 22000 syncthing] returned a non-zero code: 3
Fixed with 658fd27 . Thanks!