summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2021-07-15 16:06:18 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-15 16:09:04 -0700
commit6415efa514db436e33375f67f38c9f783491b692 (patch)
treefc235fee247aec62ceedc5d525de808b35db6b71 /tools
parentcd45d7b6c893aa763cdc3ef2f4ac86444b622927 (diff)
buildkite: bump Go version to 1.16
We're currently on 1.13, which can cause build issues with code targeting later versions. PiperOrigin-RevId: 385029528
Diffstat (limited to 'tools')
-rwxr-xr-xtools/installers/containerd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/installers/containerd.sh b/tools/installers/containerd.sh
index e598bce89..03101427c 100755
--- a/tools/installers/containerd.sh
+++ b/tools/installers/containerd.sh
@@ -36,9 +36,10 @@ install_helper() {
mkdir -p "${GOPATH}"/src/$(dirname "${PACKAGE}") && \
git clone https://"${PACKAGE}" "${GOPATH}"/src/"${PACKAGE}"
- # Checkout and build the repository.
+ # Checkout and build the repository. We use a pre-GO111MODULE containerd.
(cd "${GOPATH}"/src/"${PACKAGE}" && \
git checkout "${TAG}" && \
+ export GO111MODULE=off && \
make && \
make install)
}