This is the repo of the official Yii 2.0 Framework image on DockerHub for PHP.
This is still work in progress. The images available on docker hub are in public preview state.
These Docker images are built on top of the official PHP Docker image, they contain additional PHP extensions required to run Yii 2.0 framework.
The Dockerfile(s) of this repository are design to build various versions by using build arguments.
cp .env-dist .env
Adjust the versions in .env if you want to build a specific version.
Note: Please make sure to use a matching combination of
DOCKERFILE_FLAVOURandPHP_BASE_IMAGE_VERSION
PHP_ENABLE_XDEBUGwhether to load an enable Xdebug, defaults to0(false)PHP_USER_ID(Debian only) user ID, when running commands
docker-compose build
docker-compose run --rm php php /tests/requirements.php
More information can be found in the docs folder.
- Error code
139on Alpine for PHP5.6-7.1results from a broken ImageMagick installation