Interpret 'build:' as relative to the yml file
* This fix introduces one side-effect: the build parameter is now validated early, when the service dicionary is first constructed. That leads to less scary stack traces when the path is not valid. * The tests for the changes introduced here alter the fixtures of those (otherwise unrelated) tests that make use of the 'build:' parameter) Signed-off-by: Moysés Borges Furtado <moyses.furtado@wplex.com.br>
This commit is contained in:
parent
e3e2247159
commit
8584525e8d
7 changed files with 56 additions and 4 deletions
2
tests/fixtures/build-path/docker-compose.yml
vendored
Normal file
2
tests/fixtures/build-path/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
foo:
|
||||
build: ../build-ctx/
|
||||
Loading…
Add table
Add a link
Reference in a new issue