Skip to content

Commit b52d2a2

Browse files
author
Ivan Shvedunov
committed
Support DIND_CRI=containerd in build/cmd.sh
1 parent a23fc52 commit b52d2a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/cmd.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ function prepare_node {
282282
fi
283283
ensure_build_container
284284
echo >&2 "Installing CRI proxy package in the node container (${node})..."
285+
if [[ ${DIND_CRI:-} = containerd ]]; then
286+
docker exec "${node}" /bin/bash -c 'echo criproxy-nodeps criproxy/primary_cri select containerd | debconf-set-selections'
287+
fi
285288
docker exec "${node}" /bin/bash -c "curl -sSL '${CRIPROXY_DEB_URL}' >/criproxy.deb && dpkg -i /criproxy.deb && rm /criproxy.deb"
286289

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

0 commit comments

Comments
 (0)