Skip to content

Commit

Permalink
Support DIND_CRI=containerd in build/cmd.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Shvedunov committed Dec 20, 2018
1 parent 85833e5 commit b4bae58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ function prepare_node {
fi
ensure_build_container
echo >&2 "Installing CRI proxy package in the node container (${node})..."
if [[ ${DIND_CRI:-} = containerd ]]; then
docker exec "${node}" /bin/bash -c 'echo criproxy-nodeps criproxy/primary_cri select containerd | debconf-set-selections'
fi
docker exec "${node}" /bin/bash -c "curl -sSL '${CRIPROXY_DEB_URL}' >/criproxy.deb && dpkg -i /criproxy.deb && rm /criproxy.deb"

docker exec "${node}" mount --make-shared /dind
Expand Down

0 comments on commit b4bae58

Please sign in to comment.