Create "src" symlink for building notary with gcc 5
| ... | ... |
@@ -113,7 +113,7 @@ RUN set -x \ |
| 113 | 113 |
&& export GO15VENDOREXPERIMENT=1 \ |
| 114 | 114 |
&& export GOPATH="$(mktemp -d)" \ |
| 115 | 115 |
&& git clone https://github.com/docker/notary.git "$GOPATH/src/github.com/docker/notary" \ |
| 116 |
- && (cd "$GOPATH/src/github.com/docker/notary" && git checkout -q "$NOTARY_VERSION") \ |
|
| 116 |
+ && (cd "$GOPATH/src/github.com/docker/notary" && git checkout -q "$NOTARY_VERSION" && ln -s . vendor/src) \ |
|
| 117 | 117 |
&& GOPATH="$GOPATH/src/github.com/docker/notary/vendor:$GOPATH" \ |
| 118 | 118 |
go build -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server \ |
| 119 | 119 |
&& rm -rf "$GOPATH" |