summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
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)
}