Skip to content

Commit

Permalink
Merge branch 'release/5.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed May 23, 2016
2 parents e2ca94d + 980604c commit bcd56ea
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 68 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
PHP Docker Boilerplate Changelog
==================================

5.1.0 - UPCOMING
-----------------
5.1.0 - 2016-05-23
------------------
- Add support for new WebDevOps Docker images 0.5.0 and up
- Removed xdebug and blackfire, for xdebug use php-dev, php-apache-dev, php-nginx-dev images

5.0.2 - 2016-05-09
------------------
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ COPY provision/ /opt/docker/provision/

COPY app/ /app/

RUN /opt/docker/bin/control.sh provision.role.startup boilerplate-main \
&& /opt/docker/bin/control.sh provision.role.startup boilerplate-deployment \
RUN /opt/docker/bin/provision add --tag bootstrap --tag entrypoint boilerplate-main boilerplate-deployment \
&& /opt/docker/bin/bootstrap.sh

# Configure volume/workdir
Expand Down
54 changes: 26 additions & 28 deletions Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,48 @@
# debian-9 -> PHP 5.6 and 7.0 (stretch)
#
# Apache:
# webdevops/php-apache:ubuntu-12.04
# webdevops/php-apache:ubuntu-14.04
# webdevops/php-apache:ubuntu-15.04
# webdevops/php-apache:ubuntu-15.10
# webdevops/php-apache:ubuntu-16.04
# webdevops/php-apache:ubuntu-16.04-php7
# webdevops/php-apache:centos-7
# webdevops/php-apache:debian-7
# webdevops/php-apache:debian-8
# webdevops/php-apache:debian-8-php7
# webdevops/php-apache:debian-9
# webdevops/php-apache:debian-9-php7
# webdevops/php-apache-dev:ubuntu-12.04
# webdevops/php-apache-dev:ubuntu-14.04
# webdevops/php-apache-dev:ubuntu-15.04
# webdevops/php-apache-dev:ubuntu-15.10
# webdevops/php-apache-dev:ubuntu-16.04
# webdevops/php-apache-dev:ubuntu-16.04-php7
# webdevops/php-apache-dev:centos-7
# webdevops/php-apache-dev:debian-7
# webdevops/php-apache-dev:debian-8
# webdevops/php-apache-dev:debian-8-php7
# webdevops/php-apache-dev:debian-9
# webdevops/php-apache-dev:debian-9-php7
#
# Nginx:
# webdevops/php-nginx:ubuntu-12.04
# webdevops/php-nginx:ubuntu-14.04
# webdevops/php-nginx:ubuntu-15.04
# webdevops/php-nginx:ubuntu-15.10
# webdevops/php-nginx:ubuntu-16.04
# webdevops/php-nginx:ubuntu-16.04-php7
# webdevops/php-nginx:centos-7
# webdevops/php-nginx:debian-7
# webdevops/php-nginx:debian-8
# webdevops/php-nginx:debian-8-php7
# webdevops/php-nginx:debian-9
# webdevops/php-nginx:debian-9-php7
# webdevops/php-nginx-dev-dev:ubuntu-12.04
# webdevops/php-nginx-dev-dev:ubuntu-14.04
# webdevops/php-nginx-dev-dev:ubuntu-15.04
# webdevops/php-nginx-dev-dev:ubuntu-15.10
# webdevops/php-nginx-dev-dev:ubuntu-16.04
# webdevops/php-nginx-dev-dev:ubuntu-16.04-php7
# webdevops/php-nginx-dev-dev:centos-7
# webdevops/php-nginx-dev-dev:debian-7
# webdevops/php-nginx-dev-dev:debian-8
# webdevops/php-nginx-dev-dev:debian-8-php7
# webdevops/php-nginx-dev-dev:debian-9
# webdevops/php-nginx-dev-dev:debian-9-php7
#
# HHVM:
# webdevops/hhvm-apache
# webdevops/hhvm-nginx
#
#++++++++++++++++++++++++++++++++++++++

FROM webdevops/php-apache:ubuntu-14.04
FROM webdevops/php-apache-dev:ubuntu-14.04

ENV PROVISION_CONTEXT "development"

# Deploy scripts/configurations
COPY etc/ /opt/docker/etc/
COPY provision/ /opt/docker/provision/

RUN /opt/docker/bin/control.sh provision.role boilerplate-main \
&& /opt/docker/bin/control.sh provision.role boilerplate-main-development \
&& /opt/docker/bin/control.sh provision.role.startup boilerplate-deployment \
RUN /opt/docker/bin/provision add --tag bootstrap --tag entrypoint boilerplate-main boilerplate-main-development boilerplate-deployment \
&& /opt/docker/bin/bootstrap.sh

# Configure volume/workdir
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ ENV PROVISION_CONTEXT "production"
COPY etc/ /opt/docker/etc/
COPY provision/ /opt/docker/provision/

RUN /opt/docker/bin/control.sh provision.role boilerplate-main \
&& /opt/docker/bin/control.sh provision.role.startup boilerplate-deployment \
RUN /opt/docker/bin/provision add --tag bootstrap --tag entrypoint boilerplate-main boilerplate-deployment \
&& /opt/docker/bin/bootstrap.sh

# Configure volume/workdir
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerized PHP web project boilerplate

[![latest v5.0.2](https://img.shields.io/badge/latest-v5.0.2-green.svg?style=flat)](https://github.com/webdevops/php-docker-boilerplate/releases/tag/5.0.2)
[![latest v5.1.0](https://img.shields.io/badge/latest-v5.1.0-green.svg?style=flat)](https://github.com/webdevops/php-docker-boilerplate/releases/tag/5.1.0)
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/mblaschke/php-docker-boilerplate.svg)](http://isitmaintained.com/project/mblaschke/php-docker-boilerplate "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/mblaschke/php-docker-boilerplate.svg)](http://isitmaintained.com/project/mblaschke/php-docker-boilerplate "Percentage of issues still open")
Expand Down
2 changes: 0 additions & 2 deletions etc/application.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ PROVISION:
systemUpdate: false

install:
phpBlackfire: false
phpXdebug: false
apacheModPagespeed: false

service:
Expand Down
2 changes: 0 additions & 2 deletions etc/application.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ PROVISION:
systemUpdate: true

install:
phpBlackfire: false
phpXdebug: false
apacheModPagespeed: false

service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@

- include: bootstrap/php-blackfire/redhat.yml
when: ansible_os_family == 'Debian' and PROVISION.install.phpBlackfire is defined and PROVISION.install.phpBlackfire

- include: bootstrap/php.xdebug.yml
when: PROVISION.install.phpXdebug is defined and PROVISION.install.phpXdebug

This file was deleted.

0 comments on commit bcd56ea

Please sign in to comment.