Skip to content

vfalies/EnvDevPHPBase

Repository files navigation

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:

  • 5.6 FPM
  • 7.0 FPM
  • 7.1 FPM
  • 7.2 FPM
  • 7.3 FPM
  • 7.4 FPM
  • 8.0 FPM
  • 7.0 CLI
  • 7.1 CLI
  • 7.2 CLI
  • 7.3 CLI
  • 7.4 CLI
  • 8.0 CLI

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.