From c9c3f031753296fbeb71cb3ff687d9bda088cade Mon Sep 17 00:00:00 2001 From: Peter Jaap Blaakmeer Date: Fri, 14 Dec 2018 10:39:02 +0100 Subject: [PATCH] Fixed build contexts Build contexts contained version number even though we now moved to using args, avoiding the "Service phpXX has neither an image nor a build context specified. At least one must be provided." error. --- docker-compose.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f024781..bddf33f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,22 +19,22 @@ services: mailcatch: image: mailhog/mailhog network_mode: bridge - - php70: + + php56: build: - context: build/dist/php70 + context: build/dist/php args: - - FROM_TAG=php7-fpm + - FROM_TAG=php5-fpm links: - db - mailcatch - redis network_mode: bridge - php56: + php70: build: - context: build/dist/php56 + context: build/dist/php args: - - FROM_TAG=php5-fpm + - FROM_TAG=php7-fpm links: - db - mailcatch @@ -42,7 +42,7 @@ services: network_mode: bridge php71: build: - context: build/dist/php71 + context: build/dist/php args: - FROM_TAG=php71-fpm links: @@ -52,7 +52,7 @@ services: network_mode: bridge php72: build: - context: build/dist/php72 + context: build/dist/php args: - FROM_TAG=php72-fpm links: @@ -62,7 +62,7 @@ services: network_mode: bridge php73: build: - context: build/dist/php73 + context: build/dist/php args: - FROM_TAG=php73-fpm links: