Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a6418ed

Browse files
Remove provision
Mostly not needed, so let’s speedup startup
1 parent 36b8525 commit a6418ed

File tree

5 files changed

+43
-10
lines changed

5 files changed

+43
-10
lines changed

‎Dockerfile.cloud

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#++++++++++++++++++++++++++++++++++++++
44
#
55
# PHP-Versions:
6+
# 5.6 -> PHP 5.6 official PHP image
7+
# 7.0 -> PHP 7.0 official PHP image
8+
# 7.1 -> PHP 7.1 official PHP image
69
# ubuntu-12.04 -> PHP 5.3 (precise) LTS
710
# ubuntu-14.04 -> PHP 5.5 (trusty) LTS
811
# ubuntu-15.04 -> PHP 5.6 (vivid)
@@ -14,6 +17,9 @@
1417
# debian-9 -> PHP 7.0 (stretch)
1518
#
1619
# Apache:
20+
# webdevops/php-apache:5.6
21+
# webdevops/php-apache:7.0
22+
# webdevops/php-apache:7.1
1723
# webdevops/php-apache:ubuntu-12.04
1824
# webdevops/php-apache:ubuntu-14.04
1925
# webdevops/php-apache:ubuntu-15.04
@@ -26,6 +32,9 @@
2632
# webdevops/php-apache:debian-9
2733
#
2834
# Nginx:
35+
# webdevops/php-nginx:5.6
36+
# webdevops/php-nginx:7.0
37+
# webdevops/php-nginx:7.1
2938
# webdevops/php-nginx:ubuntu-12.04
3039
# webdevops/php-nginx:ubuntu-14.04
3140
# webdevops/php-nginx:ubuntu-15.04
@@ -53,9 +62,8 @@ COPY provision/ /opt/docker/provision/
5362

5463
COPY app/ /app/
5564

56-
RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
57-
&& /opt/docker/bin/bootstrap.sh
65+
# RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
66+
# && /opt/docker/bin/bootstrap.sh
5867

5968
# Configure volume/workdir
60-
RUN mkdir -p /app/
6169
WORKDIR /app/

‎Dockerfile.development

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
# debian-9 -> PHP 7.0 (stretch)
1515
#
1616
# Apache:
17+
# webdevops/php-apache-dev:5.6
18+
# webdevops/php-apache-dev:7.0
19+
# webdevops/php-apache-dev:7.1
1720
# webdevops/php-apache-dev:ubuntu-12.04
1821
# webdevops/php-apache-dev:ubuntu-14.04
1922
# webdevops/php-apache-dev:ubuntu-15.04
@@ -26,6 +29,9 @@
2629
# webdevops/php-apache-dev:debian-9
2730
#
2831
# Nginx:
32+
# webdevops/php-nginx-dev:5.6
33+
# webdevops/php-nginx-dev:7.0
34+
# webdevops/php-nginx-dev:7.1
2935
# webdevops/php-nginx-dev:ubuntu-12.04
3036
# webdevops/php-nginx-dev:ubuntu-14.04
3137
# webdevops/php-nginx-dev:ubuntu-15.04
@@ -51,9 +57,8 @@ ENV PROVISION_CONTEXT "development"
5157
COPY etc/ /opt/docker/etc/
5258
COPY provision/ /opt/docker/provision/
5359

54-
RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-main-development --role boilerplate-deployment \
55-
&& /opt/docker/bin/bootstrap.sh
60+
# RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-main-development --role boilerplate-deployment \
61+
# && /opt/docker/bin/bootstrap.sh
5662

5763
# Configure volume/workdir
58-
RUN mkdir -p /app/
5964
WORKDIR /app/

‎Dockerfile.production

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#++++++++++++++++++++++++++++++++++++++
44
#
55
# PHP-Versions:
6+
# 5.6 -> PHP 5.6 official PHP image
7+
# 7.0 -> PHP 7.0 official PHP image
8+
# 7.1 -> PHP 7.1 official PHP image
69
# ubuntu-12.04 -> PHP 5.3 (precise) LTS
710
# ubuntu-14.04 -> PHP 5.5 (trusty) LTS
811
# ubuntu-15.04 -> PHP 5.6 (vivid)
@@ -14,6 +17,9 @@
1417
# debian-9 -> PHP 7.0 (stretch)
1518
#
1619
# Apache:
20+
# webdevops/php-apache:5.6
21+
# webdevops/php-apache:7.0
22+
# webdevops/php-apache:7.1
1723
# webdevops/php-apache:ubuntu-12.04
1824
# webdevops/php-apache:ubuntu-14.04
1925
# webdevops/php-apache:ubuntu-15.04
@@ -26,6 +32,9 @@
2632
# webdevops/php-apache:debian-9
2733
#
2834
# Nginx:
35+
# webdevops/php-nginx:5.6
36+
# webdevops/php-nginx:7.0
37+
# webdevops/php-nginx:7.1
2938
# webdevops/php-nginx:ubuntu-12.04
3039
# webdevops/php-nginx:ubuntu-14.04
3140
# webdevops/php-nginx:ubuntu-15.04
@@ -51,9 +60,8 @@ ENV PROVISION_CONTEXT "production"
5160
COPY etc/ /opt/docker/etc/
5261
COPY provision/ /opt/docker/provision/
5362

54-
RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
55-
&& /opt/docker/bin/bootstrap.sh
63+
# RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
64+
# && /opt/docker/bin/bootstrap.sh
5665

5766
# Configure volume/workdir
58-
RUN mkdir -p /app/
5967
WORKDIR /app/

‎etc/application.development.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
22

3+
# For advanced provisioning you have to enable following lines in Dockerfile:
4+
#
5+
# RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
6+
# && /opt/docker/bin/bootstrap.sh
7+
#
8+
39
PROVISION:
410
install:
511
apacheModPagespeed: false

‎etc/application.production.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
---
22

3+
# For advanced provisioning you have to enable following lines in Dockerfile:
4+
#
5+
# RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
6+
# && /opt/docker/bin/bootstrap.sh
7+
#
8+
39
PROVISION:
410
install:
511
apacheModPagespeed: false
612

713
service:
814
# set "enabled" or "disabled" to controll startup of services
9-
- { service: "cron", status: "disabled" }
15+
- { service: "cron", status: "enabled" }
1016
- { service: "dnsmasq", status: "enabled" }
1117
- { service: "postfix", status: "enabled" }
1218

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /