containerd/script/setup
Sebastiaan van Stijn 164573897c
script/setup: use git clone instead of go get -d
`go get -d` uses go modules by default in Go 1.16 and up, which results
in modules being fetched for the "latest" module version, after which we
tried to "git checkout" to `<VERSION>`.

For runc, this means that (possibly incorrectly), `go get` will download
runc `v0.1.1` (most recent non-"pre-release", which caused failures (e.g
the old `Sirupsen/logrus` being downloaded).

In addition, some of the dependencies we're installing use vendoring, and
thus would not require the modules to be downloaded (and vendored files
will be ignored when using `go get` with modules).

This patch switches several uses `go get -d` to use a regular
git clone, after which the desired version is checked out,
and the binaries are built.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Phil Estes <estesp@amazon.com>
2021-03-03 15:34:54 -05:00
..
config-containerd Update Vagrantfile for testing SELinux 2020-08-10 01:55:44 -07:00
config-selinux Update Vagrantfile for testing SELinux 2020-08-10 01:55:44 -07:00
install-cni script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-cni-windows script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-critools script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-dev-tools Change to GOPATH before go get 2020-12-01 01:39:10 +08:00
install-protobuf vendor protobuf & grpc 2020-02-26 10:57:05 +09:00
install-runc script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-seccomp Fix incorrect comment from copy/paste of starting script 2020-02-13 11:48:12 -05:00