Skip to content

Commit 5ee0e70

Browse files
Merge pull request #367 from continuouspipe/feature/php-images-merge
Merge the shared sources of php-apache and php-nginx images
2 parents 7768518 + b3b3c74 commit 5ee0e70

File tree

130 files changed

+93
-713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+93
-713
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ internal services and for the application templates.
2222
- [Varnish 4.0](drupal8-varnish/4.0/)
2323
- [eZ Platform 6.x](ez/6.x/)
2424
- *General PHP*
25-
- [Apache w/ PHP (5.6, 7.0, 7.1)](php-apache/)
26-
- [NGINX w/ PHP-FPM (5.6, 7.0, 7.1)](php-nginx/)
25+
- [Apache w/ PHP (5.6, 7.0, 7.1)](php/apache/)
26+
- [NGINX w/ PHP-FPM (5.6, 7.0, 7.1)](php/nginx/)
2727
- [Magento 1](magento1-nginx/fpm-5.6/)
2828
- *Magento 2*
2929
- [NGINX w/ PHP-FPM 7.0](magento2-nginx/fpm-7.0/)

docker-compose.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ services:
276276

277277
php71_apache:
278278
build:
279-
context: ./php-apache/
279+
context: ./php/
280+
dockerfile: Dockerfile-apache
280281
args:
281282
PHP_VERSION: 7.1
282283
image: quay.io/continuouspipe/php7.1-apache:latest
@@ -285,7 +286,8 @@ services:
285286

286287
php70_apache:
287288
build:
288-
context: ./php-apache/
289+
context: ./php/
290+
dockerfile: Dockerfile-apache
289291
args:
290292
PHP_VERSION: 7.0
291293
image: quay.io/continuouspipe/php7-apache:latest
@@ -294,7 +296,8 @@ services:
294296

295297
php56_apache:
296298
build:
297-
context: ./php-apache/
299+
context: ./php/
300+
dockerfile: Dockerfile-apache
298301
args:
299302
PHP_VERSION: 5.6
300303
image: quay.io/continuouspipe/php5.6-apache:latest
@@ -303,7 +306,8 @@ services:
303306

304307
php71_nginx:
305308
build:
306-
context: ./php-nginx/
309+
context: ./php/
310+
dockerfile: Dockerfile-nginx
307311
args:
308312
PHP_VERSION: 7.1
309313
image: quay.io/continuouspipe/php7.1-nginx:latest
@@ -312,7 +316,8 @@ services:
312316

313317
php70_nginx:
314318
build:
315-
context: ./php-nginx/
319+
context: ./php/
320+
dockerfile: Dockerfile-nginx
316321
args:
317322
PHP_VERSION: 7.0
318323
image: quay.io/continuouspipe/php7-nginx:latest
@@ -321,7 +326,8 @@ services:
321326

322327
php56_nginx:
323328
build:
324-
context: ./php-nginx/
329+
context: ./php/
330+
dockerfile: Dockerfile-nginx
325331
args:
326332
PHP_VERSION: 5.6
327333
image: quay.io/continuouspipe/php5.6-nginx:latest

drupal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This allows you to define and override bash functions that the base images add.
108108

109109
In addition to the bash functions defined in this base image's parent images:
110110
[the base image functions](../../ubuntu/16.04/README.md#custom-build-and-startup-scripts)
111-
[the php-apache image functions](../../php-apache/README.md#custom-build-and-startup-scripts)
111+
[the php-apache image functions](../../php/apache/README.md#custom-build-and-startup-scripts)
112112

113113
This base image adds the following bash functions:
114114

magento1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ This allows you to define and override bash functions that the base images add.
5252

5353
In addition to the bash functions defined in this base image's parent images:
5454
* [the base image functions](../../ubuntu/16.04/README.md#custom-build-and-startup-scripts)
55-
* [the php-nginx image functions](../../php-nginx/README.md#custom-build-and-startup-scripts)
56-
* [the php-apache image functions](../../php-apache/README.md#custom-build-and-startup-scripts)
55+
* [the php-nginx image functions](../../php/nginx/README.md#custom-build-and-startup-scripts)
56+
* [the php-apache image functions](../../php/apache/README.md#custom-build-and-startup-scripts)
5757

5858
This base image adds the following bash functions:
5959

magento2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This allows you to define and override bash functions that the base images add.
5959

6060
In addition to the bash functions defined in this base image's parent images:
6161
* [the base image functions](../../ubuntu/16.04/README.md#custom-build-and-startup-scripts)
62-
* [the php-nginx image functions](../../php-nginx/README.md#custom-build-and-startup-scripts)
62+
* [the php-nginx image functions](../../php/nginx/README.md#custom-build-and-startup-scripts)
6363

6464
This base image adds the following bash functions:
6565

php-apache/usr/local/share/container/baseimage-20.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

php-apache/usr/local/share/php/apache_functions.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

php-nginx/etc/confd/conf.d/php_env_cli.ini.toml

Lines changed: 0 additions & 6 deletions
This file was deleted.

php-nginx/etc/confd/conf.d/postfix_main.cf.toml

Lines changed: 0 additions & 6 deletions
This file was deleted.

php-nginx/etc/confd/conf.d/postfix_sasl_passwd.toml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)