#!/bin/bash # A script to install containerd and CNI plugins for e2e testing wget -q --https-only \ https://github.com/containerd/containerd/releases/download/v${CONTAINERD_VERSION}/containerd-${CONTAINERD_VERSION}.linux-amd64.tar.gz \ https://github.com/containernetworking/plugins/releases/download/v0.7.0/cni-plugins-amd64-v0.7.0.tgz sudo mkdir -p /etc/containerd /etc/cni/net.d /opt/cni/bin sudo tar -xvf cni-plugins-amd64-v0.7.0.tgz -C /opt/cni/bin/ sudo tar -xvf containerd-${CONTAINERD_VERSION}.linux-amd64.tar.gz -C / cat </tmp/containerd-cri.log &