Based on official `php` docker image with additional stuff
4.3K
Dockerfile linksBased on official php docker image with additional stuff
/usr/local/bin/php:#!/bin/bash
exec docker run \
--rm \
--privileged=true \
--net=host \
-t \
-v $HOME:$HOME \
-w $PWD \
diegomarangoni/php \
php $@
chmod +x /usr/local/bin/php
php --version
If you think something is missing on this image please open a PR in the repository at github
** installed but not enabled by default, if you want to enable, create a entrypoint with:
#!/bin/bash
# install latest version of composer
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# enable custom extensions
docker-php-ext-enable xdebug
exec $@
Content type
Image
Digest
sha256:423c8bbd8…
Size
209.8 MB
Last updated
over 10 years ago
docker pull diegomarangoni/php