mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
We already vendor distribution under ./vendor, but because the GOPATH is /go:/go/src/github.com/.../vendor Go will always compile the source code at /go not in ./vendor. Apart from the fact that it is very inconvenient during development, it was also a time-bomb: someone vendors a fix from upstream distribution, but forgets to update REGISTRY_COMMIT in the Dockerfile, and the binary doesn't get the fix. Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 2b0b0c4b97596314b4b1d3960158cc4bcad4067b Component: engine