1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

[ppc64le] fix notary vendor link

Notary switched to vendor a while ago, so make that change here. Change
is consistent with all other dockerfiles.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
Upstream-commit: 28b99648aea000b01eb9634743110900d025238c
Component: engine
This commit is contained in:
Christopher Jones
2017-03-22 17:45:18 -04:00
parent 30a11974ed
commit 0fbaab526f

View File

@@ -136,9 +136,9 @@ RUN set -x \
&& export GOPATH="$(mktemp -d)" \
&& git clone https://github.com/docker/notary.git "$GOPATH/src/github.com/docker/notary" \
&& (cd "$GOPATH/src/github.com/docker/notary" && git checkout -q "$NOTARY_VERSION") \
&& GOPATH="$GOPATH/src/github.com/docker/notary/Godeps/_workspace:$GOPATH" \
&& GOPATH="$GOPATH/src/github.com/docker/notary/vendor:$GOPATH" \
go build -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server \
&& GOPATH="$GOPATH/src/github.com/docker/notary/Godeps/_workspace:$GOPATH" \
&& GOPATH="$GOPATH/src/github.com/docker/notary/vendor:$GOPATH" \
go build -o /usr/local/bin/notary github.com/docker/notary/cmd/notary \
&& rm -rf "$GOPATH"