docker-php-nginx icon indicating copy to clipboard operation
docker-php-nginx copied to clipboard

sh and bash

Open pere000 opened this issue 3 years ago • 1 comments

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.

pere000 avatar May 28 '22 11:05 pere000

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

TrafeX avatar May 29 '22 05:05 TrafeX