firecat53 / dockerfiles

Dockerfiles: Gollum, Jackett, Miniflux, Nginx/PHP-FPM, Plex, Privatebin, Qbittorrent, Radarr, Sabnzbd, Samba, SSH Socks Proxy server, Sonarr, Syncthing, Transmission, Unifi Controller.
MIT License
623 stars 93 forks source link

Dockerfile - useradd command invalid while building. #3

Closed flamesage closed 10 years ago

flamesage commented 10 years ago

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
firecat53 commented 10 years ago

Fixed with 658fd27 . Thanks!