Dockerfile icon indicating copy to clipboard operation
Dockerfile copied to clipboard

PHP8+ Path for "application"

Open nitrique opened this issue 3 years ago • 0 comments

Hi,

In PHP 8.0 and PHP 8.1 images, application user cannot use php or composer.

After digging deeper, we found that the /usr/local/bin/ is not in the path:

bash-5.1$ whoami
application
bash-5.1$ echo $PATH
/bin:/usr/bin

But it works on root.

Regards, Nicolas

nitrique avatar Feb 08 '22 11:02 nitrique