This is PHP polinux/php Docker image.
For different PHP versions, look up different branches of this repository. On Docker Hub you can find them under different tags:
polinux/php:latest
- PHP 7.1 built from master branchpolinux/php:5.4
- PHP 5.4 built from 5.4 branchpolinux/php:5.5
- PHP 5.5 built from 5.5 branchpolinux/php:5.6
- PHP 5.6 built from 5.6 branchpolinux/php:7.0
- PHP 7.0 built from 7.0 branchpolinux/php:7.1
- PHP 7.1 built from 7.1 branch
- Ruby 2.0, Bundler
- NodeJS and NPM
- NPM packages like gulp, grunt, bower, browser-sync
docker pull polinux/php
Or, if you prefer to build it on your own:
docker build -t polinux/php .
Run the image:
docker run polinux/php command
Run the image as daemon and specify PHP version 5.6:
docker run polinux/php:5.6 command
Przemyslaw Ozgo (linux@ozgo.info)
This work is also inspired by million12's work on million12/nginx-php docker image. Many thanks!