Closed
Description
Hi, thank you for maintaining this Docker image!
I ran into an issue with version 3.7.0 of the image.
When I use the following Dockerfile:
FROM trafex/php-nginx:3.7.0
USER root
RUN php -v
I get the following error:
/bin/sh: php: not found
In version 3.7.0 (and 3.8.0), the php
command is missing, even though it's available in 3.6.0.
I found that the CLI binary is available as /usr/bin/php84
, but there's no symlink to php
.
As a simple fix, adding this line works:
RUN ln -s /usr/bin/php84 /usr/bin/php
Would it be possible to include this symlink in the image by default?
Any insights or suggestions would be greatly appreciated.
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels