webdevops / Dockerfile

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx
https://webdevops.io/projects/dockerfiles/
MIT License
1.67k stars 492 forks source link

webdevops/nginx image missing application user #497

Open bkraul opened 11 months ago

bkraul commented 11 months ago

The webdevops/nginx image is missing the important application (UID 1000: GID 1000) user. This is causing issues for downstream images that depend on the user (as per the webdevops documentation for the nginx image).

It also causes issues with file permissions, as the nginx user is 101:100. I am suspecting what's coming down is the user config from nginx upstream?

The resulting error is this:

starting container failed: unable to find user application: no matching entries in passwd file

This is happening right off the bat on the webdevops/nginx image, it won't even run. Alpine variant runs, but it is also missing the application user.