Merge pull request #1213 from moysesb/relative_build

Make value of 'build:' relative to the yml file.
(cherry picked from commit 0f70b8638f)

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Daniel Nephin 2015-03-31 21:20:02 -04:00 committed by Aanand Prasad
commit e4e802d1f8
7 changed files with 56 additions and 4 deletions

2
tests/fixtures/build-ctx/Dockerfile vendored Normal file
View file

@ -0,0 +1,2 @@
FROM busybox:latest
CMD echo "success"

View file

@ -0,0 +1,2 @@
foo:
build: ../build-ctx/

View file

@ -1,2 +1,2 @@
service:
build: tests/fixtures/dockerfile_with_entrypoint
build: .

View file

@ -1,2 +1,2 @@
simple:
build: tests/fixtures/simple-dockerfile
build: .