/docker-php-fpm

Git repo for a customizable Docker Alpine PHP FPM image

Primary LanguageDockerfileMIT LicenseMIT

Build Status Docker

Alpine PHP FPM + composer

ARG vars

  • PHP_VERSION switchable PHP version
  • PHP_ROOT configure the WORKDIR
  • PHP_EXTRA_EXTENSIONS allow to add extra extensions
  • PHP_EXTRA_PECL_EXTENSIONS allow to add extra PECL extensions
  • COMPOSER_GLOBAL_REQUIREMENTS allow to add extra global composer requirements

Bundled extensions

  • gd
  • imagick
  • intl
  • zip
  • pdo_mysql
  • pcntl
  • opcache
  • exif

Additional extensions (not available in '*-minimum' images)

  • soap
  • xmlrpc (Since PHP >=8 it becomes a PECL extension)

Optional PECL extensions (not available in '*-minimum' images)

  • xdebug
  • apcu

Composer

Globally installed with no extra packages