/docker-php-build

Primary LanguagePythonMIT LicenseMIT

Docker image for running PHP on CI

APT packages added

  • curl
  • unzip
  • git
  • mysql-client
  • postgresql-client
  • redis-tools
  • mongodb-clients
  • nodejs
  • nodejs-legacy
  • npm
  • yarn

PHP packages installed

  • bcmath
  • bz2
  • cli
  • curl
  • gd
  • imap
  • intl
  • json
  • mbstring
  • mcrypt
  • mysql
  • opcache
  • pgsql
  • readline
  • soap
  • sqlite3
  • xml
  • zip
  • mongodb
  • redis

NPM packages globally installed

  • grunt
  • bower

Composer packages globally installed

Cache dirs redirected

  • NPM: /cache/npm
  • Bower: /cache/bower
  • Composer: /cache/composer

You may want to set /cache dir as Docker image volume for faster CI build.

ENV variables changed/added

  • $PATH: added ~/.composer/vendor/bin
  • $COMPOSER_NO_INTERACTION: set to 1

Tags (and PHP version) available for Docker

  • 5.6
  • 7.0
  • 7.1
  • 7.2
  • 7.3