Skip to content

IAO2/docker-php-ci2

Repository files navigation

PHP CI Docker images

Update IAO2 from https://github.com/geertw/docker-php-ci

This repository contains Docker images for PHP 5.6 and higher which are based on the official PHP Docker images. These images were created specifically to use them for continious integration (Gitlab CI specifically), but they can be used for other purposes too.

These images contain the following additions to the vanilla PHP images:

  • Version control packages (git, mercurial -REMOVED, subversion -REMOVED)
  • composer
  • node.js and npm -REMOVED
  • PHP extensions:
    • curl
    • gd
    • gettext
    • intl -REMOVED
    • json
    • mcrypt
    • mbstring
    • mysql (php-5.5 and php-5.6 images only)
    • mysqlnd (php-7.0+ images)
    • opcache
    • pdo_mysql
    • soap
    • xsl
    • zip
    • xdebug

Pull images

The images are stored on Docker Hub. Use docker pull iao2/docker-php-ci2 to pull these images.

The following tags are available:

  • 5.5 -REMOVED
  • 5.6
  • 7.0
  • 7.1
  • 7.2 -ADDED
  • 7.3 -ADDED
  • 7.4 -ADDED
  • 8.0 -ADDED
  • 8.1 -ADDED
  • 8.2 -ADDED

There are also tags without xdebug.

  • 5.5-no-xdebug -REMOVED
  • 5.6-no-xdebug
  • 7.0-no-xdebug
  • 7.1-no-xdebug
  • 7.2-no-xdebug -ADDED
  • 7.3-no-xdebug -ADDED
  • 7.4-no-xdebug -ADDED
  • 8.0-no-xdebug -ADDED
  • 8.1-no-xdebug -ADDED
  • 8.2-no-xdebug -ADDED

Build process

The Dockerfiles are stored in directories for each image version. Docker Hub builds new images automatically when this repository or the PHP base images are updated.

To build these images yourself, use:

docker build -t php-7.0 php-7.0/
docker build -t php-7.1 php-7.1/

etc.

License

The Dockerfiles are licensed under the MIT license, see LICENSE for details.

About

Dockerfiles for PHP CI purposes - update IAO2 from https://github.com/geertw/docker-php-ci

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published