docker-engine: fix handling of vendor tree
authorChristian Stewart <christian@paral.in>
Tue, 18 Apr 2017 07:53:59 +0000 (03:53 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Apr 2017 15:46:37 +0000 (17:46 +0200)
commit5d5b92f229ab69e704ef3d4cfb47c20d8b0d3c50
treee2cfc8b55eac238c081174585ace278854070ae0
parent22137aa46067b66a2b1fc0865922833a8fe4d620
docker-engine: fix handling of vendor tree

The latest docker-engine release changes the vendor tree slightly. The
Go tool will recognize a ./vendor directory and use it as a vendor tree
automatically, but only when run inside a valid GOPATH. This patch
adjusts how the GOPATH is built - now docker/docker is linked into a
blank tree, and the Go tool recognizes the ./vendor directory correctly.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/docker-engine/docker-engine.mk