Update vendoring test to use new vendor structure

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
Riyaz Faizullabhoy 2016-03-30 10:29:27 -07:00
parent 90c91d568f
commit 66bd0579a3
1 changed files with 3 additions and 2 deletions

View File

@ -65,9 +65,10 @@ def fake_vendor():
# based on a tag or SHA, and we want to build based on what was vendored in
dockerfile_addition = ("\n"
"RUN set -x && "
"GOPATH=$(pwd)/vendor/src/github.com/docker/notary/Godeps/_workspace:$GOPATH "
"export GO15VENDOREXPERIMENT=1 && "
"GOPATH=$(pwd)/vendor/src/github.com/docker/notary/vendor:$GOPATH "
"go build -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server &&"
"GOPATH=$(pwd)/vendor/src/github.com/docker/notary/Godeps/_workspace:$GOPATH "
"GOPATH=$(pwd)/vendor/src/github.com/docker/notary/vendor:$GOPATH "
"go build -o /usr/local/bin/notary github.com/docker/notary/cmd/notary")
with open(os.path.join(DOCKER_DIR, "Dockerfile")) as dockerfile: