Merge pull request #651 from docker/update-vendor-test

Update vendoring test to use new vendor structure
This commit is contained in:
Riyaz Faizullabhoy 2016-04-05 13:46:56 -07:00
commit 1f3c04a0b1
1 changed files with 1 additions and 2 deletions

View File

@ -65,9 +65,8 @@ 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 && "
"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 "
"go build -o /usr/local/bin/notary github.com/docker/notary/cmd/notary")
with open(os.path.join(DOCKER_DIR, "Dockerfile")) as dockerfile: