TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.37k stars 736 forks source link

sh and bash #94

Closed pere000 closed 2 years ago

pere000 commented 2 years ago

Docker-PHP-Nginx does not allow 'bash', only 'sh'. Is there a way to use bash instead of sh? Have you considered adding 'bash' in the future? Thanks for your docker.

TrafeX commented 2 years ago

Hi @pere000,

That's intended to keep the image small. Bash has a larger footprint and most of the time you don't need the features that bash brings in a container. You can always fork this repo and add bash to the list of installed applications: https://github.com/TrafeX/docker-php-nginx/blob/2.6.0/Dockerfile#L9