Need -lpthread to compile Notary

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Upstream-commit: 6b09413f6bf309ad8103a0161dc826fc36af2a56
Component: engine
This commit is contained in:
Srini Brahmaroutu
2016-01-29 19:52:39 +00:00
parent 51a5b9ca15
commit c57100a022
+1 -1
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