Merge pull request #19838 from brahmaroutu/fix_notary_gccgo_s390x

Need -lpthread to compile Notary
This commit is contained in:
Sebastiaan van Stijn 2016-01-29 22:33:57 -08:00
commit 317c89ce9e
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ RUN set -x \
&& 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" \
go build -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server \
go build -gccgoflags=-lpthread -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server \
&& rm -rf "$GOPATH"
# Get the "docker-py" source so we can run their integration tests