shivammathur / php-builder

:elephant: Build PHP 5.6 and newer
https://github.com/shivammathur/php-builder/releases
MIT License
65 stars 8 forks source link

Why is PHP installed as user 1001 with some random group (e.g. epmd or docker) ? #10

Closed HenkPoley closed 3 years ago

HenkPoley commented 3 years ago

The 'random group' might be the nearest to GID=1001. E.g. for one of my systems epmd GID=116, another system docker GID=1001

shivammathur commented 3 years ago

Can you provide a test Dockerfile to reproduce the issue?

HenkPoley commented 3 years ago

No. I'm not using this on Docker, but Ubuntu on WSL1 & WSL2

Maybe that's the issue (?)

shivammathur commented 3 years ago

@HenkPoley Should be fixed by https://github.com/shivammathur/php-builder/commit/5e905dd2f0a75f06978ae79a1e38e3aa9eac40b3

Fetch install.sh and install again.

HenkPoley commented 3 years ago

The folders and files are now all(?) owned by root.

shivammathur commented 3 years ago

That should be alright, Does it cause any permission issues while running PHP?