https://github.com/sergeymakinen/docker-yii2-php
PHP CLI for Yii 2 on Ubuntu 16.04.02 LTS
https://github.com/sergeymakinen/docker-yii2-php
docker docker-image dockerfile php php-7 php7 yii2
Last synced: 7 months ago
JSON representation
PHP CLI for Yii 2 on Ubuntu 16.04.02 LTS
- Host: GitHub
- URL: https://github.com/sergeymakinen/docker-yii2-php
- Owner: sergeymakinen
- License: mit
- Archived: true
- Created: 2017-03-19T22:44:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T21:00:42.000Z (about 8 years ago)
- Last Synced: 2025-01-20T21:09:50.207Z (over 1 year ago)
- Topics: docker, docker-image, dockerfile, php, php-7, php7, yii2
- Homepage: https://hub.docker.com/r/sergeymakinen/yii2-php/
- Size: 17.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Yii 2 PHP Dockerfiles
This repository contains **Dockerfiles** of PHP CLI for Yii 2 tests on Ubuntu 16.04.02 LTS for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sergeymakinen/yii2-php/) published to [Docker Hub](https://hub.docker.com/).
[](https://hub.docker.com/r/sergeymakinen/yii2-php/) [](https://hub.docker.com/r/sergeymakinen/yii2-php/) [](https://hub.docker.com/r/sergeymakinen/yii2-php/) [](LICENSE)
## Supported tags and respective `Dockerfile` links
* `7.2` [(7.2/Dockerfile)](https://github.com/sergeymakinen/docker-yii2-php/blob/master/7.2/Dockerfile)
* `7.1` [(7.1/Dockerfile)](https://github.com/sergeymakinen/docker-yii2-php/blob/master/7.1/Dockerfile)
* `7.0` [(7.0/Dockerfile)](https://github.com/sergeymakinen/docker-yii2-php/blob/master/7.0/Dockerfile)
* `5.6` [(5.6/Dockerfile)](https://github.com/sergeymakinen/docker-yii2-php/blob/master/5.6/Dockerfile)
## What is Yii?
Yii is a free, open-source Web application development framework written in PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product.
## Installation
1. Install [Docker](https://www.docker.com/).
2. Download [automated build](https://hub.docker.com/r/sergeymakinen/yii2-php/) from [Docker Hub](https://hub.docker.com/):
```bash
docker pull sergeymakinen/yii2-php:tag
```
## How to use this image
#### Run tests
```bash
docker run -v ../Projects/yii2:/yii --rm sergeymakinen/yii2-php:tag vendor/bin/phpunit --group=sqlite --colors=always --verbose
```