firecat53 / dockerfiles

Dockerfiles: Gollum, Jackett, Miniflux, Nginx/PHP-FPM, Plex, Privatebin, Qbittorrent, Radarr, Sabnzbd, Samba, SSH Socks Proxy server, Sonarr, Syncthing, Transmission, Unifi Controller.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!