Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 1.85 KB

README.md

File metadata and controls

72 lines (45 loc) · 1.85 KB

Supported tags and respective Dockerfile links

Experimental

See all available image tags

Introduction

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.

Features

CLI commands

  • composer
  • codecept
  • phpunit
  • yii

Configuration

ENV variables

  • GITHUB_API_TOKEN
  • DISPLAY_PHP_ERRORS
  • PHP_USER_ID
  • PHP_ENABLE_XDEBUG

Build ARGs

  • GITHUB_API_TOKEN

Development

Building the images

docker-compose build

Development bash

docker run -it dmstr/php-yii2 bash

Resources


dmstr logo Built by dmstr