Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 28 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
PHP for Drupal
=============
[![Build Status](https://travis-ci.org/drupal-docker/php.svg?branch=master)](https://travis-ci.org/drupal-docker/php)[![](https://badge.imagelayers.io/drupaldocker/php:latest.svg)](https://imagelayers.io/?images=drupaldocker/php:latest 'drupaldocker/php')
=====================

- `5.4-cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/5.4/Dockerfile))
- `5.4-apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/5.4/Dockerfile))
- `5.4-fpm`, `5.4` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/5.4/Dockerfile))
- `5.5-apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/5.5/Dockerfile))
- `5.5-cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/5.5/Dockerfile))
- `5.5-fpm`, `5.5` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/5.5/Dockerfile))
- `5.6-cli`, `5-cli`, `cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/5.6/Dockerfile))
- `5.6-apache`, `5-apache`, `apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/5.6/Dockerfile))
- `5.6-fpm`, `5-fpm`, `5.6`, `5`, `fpm`, `latest` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/5.6/Dockerfile))
- `7.0-cli`, `7-cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/7/Dockerfile))
- `7.0-apache`, `7-apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/7/Dockerfile))
- `7.0-fpm`, `7-fpm`, `7.0`, `7` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/7/Dockerfile))

Two flavors:
- mod_php (with Apache included)
- fpm
[![Build Status](https://travis-ci.org/drupal-docker/php.svg?branch=master)](https://travis-ci.org/drupal-docker/php)[![](https://badge.imagelayers.io/drupaldocker/php:latest.svg)](https://imagelayers.io/?images=drupaldocker/php:latest 'drupaldocker/php')

# Quickstart:

PHP5.6 + Apache
````
docker run -dP --volume <path/to/drupal>:/var/www/html drupaldocker/php:apache
docker run -dP drupaldocker/php:apache
````

# Versions (Docker tags):
- `5.4-apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/5.4/Dockerfile))
- `5.5-apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/5.5/Dockerfile))
- `5.6-apache`, `5-apache`, `apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/5.6/Dockerfile))
- `7-apache` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/apache/7/Dockerfile))
- `5.4-fpm`, `5.4` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/5.4/Dockerfile))
- `5.5-fpm`, `5.5` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/5.5/Dockerfile))
- `5.6-fpm`, `5-fpm`, `5.6`, `5`, `fpm`, `latest` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/5.6/Dockerfile))
- `7-fpm`, `7` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/fpm/7/Dockerfile))
- `5.4-cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/5.4/Dockerfile))
- `5.5-cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/5.5/Dockerfile))
- `5.6-cli`, `5-cli`, `cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/5.6/Dockerfile))
- `7-cli` ([Dockerfile](https://github.com/drupal-docker/php/blob/master/cli/7/Dockerfile))
# Description

# Roadmap
- ~~Add Dockerfiles for PHP + Apache (mod_php)~~
- ~~Add Dockerfiles for PHP-FPM~~
- ~~Make Apache powered images default ones~~
- ~~Default version (latest): Apache + PHP5.6~~
- ~~Make FPM _tags_ default (`5.6-fpm`, `5.6`, `latest`)~~
- ~~Add php-cli~~
- Update `latest` to php:7
@todo

# Status

Proof of concept

# Contribution
Create a pull request and become project maintainer :)
# Contributing

1. Fork the repo
1. Create your feature branch
1. Commit your changes
1. Push to the branch
1. Create new Pull Request
1. Wait for result of automate tests

# Credits
"PHP for Drupal" images were built on the top of official [PHP images](https://hub.docker.com/r/_/php/). Big kudos to people from Docker community for official [Drupal image](https://hub.docker.com/r/_/drupal/).
`drupaldocker/php images were built on the top of official [PHP images](https://hub.docker.com/r/_/php/). Big kudos to people from Docker community for official [Drupal image](https://hub.docker.com/r/_/drupal/).