vfalies / EnvDevPHPBase

EnvDevPHPBase is a PHP environment container
https://hub.docker.com/r/vfac/envdevphpbase/
MIT License
9 stars 4 forks source link
alpine cli composer docker envdev fpm php php-container php7 php71 php72

EnvDevPHPBase

Build Status

EnvDevPHPBase is a PHP container designed to be used like a base for a utilisation into the EnvDev project. The utlisation outside this project is naturally possible.

Images

Nine PHP versions are available through image's tags:

The latest version of EnvDevPHPBase (latest) (vfac/envdevphpbase) is a image with the last version of PHP FPM available.

Each versions exist in Alpine version to limit the image size.

PHP Customization

To customize the PHP image you can share your php.ini file into /usr/local/etc/php/php.ini into your Dockerfile or docker-compose file. A maximum of PHP extension have been added to be used in a maximum of projects.

Usage

docker run -d --name php -p 9000:9000 -v $PWD:/var/www/html vfac/envdevphpbase:8.0-fpm

Complements

Maildev configuration

The maildev configuration has been added into this image to be used into the EnvDev project. There are no consequence if you use this image for an another utilisation.

Composer

Composer is installed to be used with your configuration of PHP.