Skip to content

Commit

Permalink
Fixed build contexts
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
peterjaap authored and JeroenBoersma committed Dec 14, 2018
1 parent 6202870 commit c9c3f03
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ 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
- redis
network_mode: bridge
php71:
build:
context: build/dist/php71
context: build/dist/php
args:
- FROM_TAG=php71-fpm
links:
Expand All @@ -52,7 +52,7 @@ services:
network_mode: bridge
php72:
build:
context: build/dist/php72
context: build/dist/php
args:
- FROM_TAG=php72-fpm
links:
Expand All @@ -62,7 +62,7 @@ services:
network_mode: bridge
php73:
build:
context: build/dist/php73
context: build/dist/php
args:
- FROM_TAG=php73-fpm
links:
Expand Down

0 comments on commit c9c3f03

Please sign in to comment.