wodby / php

Generic PHP docker container images
MIT License
152 stars 103 forks source link

Using groupadd/useradd to add user/group #112

Open jonatasrenan opened 4 years ago

jonatasrenan commented 4 years ago

adduser/addgroup gives error when uid/gid is greater than 256000:

number 961200513 is not in 0..256000 range

Changing the approach to using useradd/groupadd from shadow solves the problem.