7.0-fpm-1.9
,7.0-fpm
(7.0/fpm/Dockerfile-fpm)7.1-fpm-2.0-beta1
,7.1-fpm
,latest
(7.1/fpm/Dockerfile-fpm)7.1-fpm-2.0-beta1-nginx
,7.1-fpm-nginx
(7.1/fpm/Dockerfile-fpm-nginx)7.1-fpm-2.0-beta1-alpine-nginx
,7.1-fpm-alpine-nginx
(7.1/fpm/Dockerfile-fpm-alpine-nginx)
ℹ️ 7.0-fpm-1.9
is based on PHP 7.0.15
🅱️ 7.0-fpm-1.9-nginx
,7.0-fpm-nginx
(7.0/fpm/Dockerfile-fpm-nginx)🅱️ 7.0-fpm-1.9-alpine-nginx
,7.0-fpm-alpine-nginx
(7.0/fpm/Dockerfile-fpm-alpine-nginx)🅰️ 7.0-fpm-1.9-alpine-nginx-xdebug
,7.0-fpm-alpine-nginx-xdebug
(7.0/fpm/Dockerfile-fpm-alpine-nginx-xdebug)🅰️ 7.1-fpm-2.0-beta1-alpine-nginx-xdebug
,7.1-fpm-alpine-nginx-xdebug
(7.1/fpm/Dockerfile-fpm-alpine-nginx-xdebug)
See all available image tags
This is a Docker PHP image containing PHP extensions and composer packages and libraries for Yii 2.0 Framework.
It is primarily intended to build Yii 2.0 applications FROM
this image, see below for available application templates.
There is also an nginx
flavour available for this image, in which PHP and nginx are managed with forego.
composer
codecept
phpunit
yii
Command | fpm | fpm-alpine | fpm-alpine-nginx | fpm-alpine-nginx-debug |
---|---|---|---|---|
xdebug | 🆗 | ❌ | ❌ | 🆗 |
codecept | 🆗 | 🆗 | 🆗 | 🆗 |
composer | 🆗 | 🆗 | 🆗 | 🆗 |
phpunit | 🆗 | 🆗 | 🆗 | 🆗 |
yii | 🆗 | 🆗 | 🆗 | 🆗 |
npm | 🆗 | 🆗 | 🆗 | 🆗 |
GITHUB_API_TOKEN
PHP_ENABLE_XDEBUG
PHP_USER_ID
(debian only)
Building the images
docker-compose build
Development bash
docker run -it dmstr/php-yii2 bash
- GitHub project
- GitLab build
- DockerHub image
- yii2-app minimal application tempplate
- phd5 standard application template
- phd5 documentation