This commit is contained in:
yumoqing 2025-11-21 15:32:55 +08:00
parent 4290fef68a
commit af1c9a96db

View File

@ -13,8 +13,9 @@ mkdir -p $TMP/bin $TMP/manifests $TMP/images $TMP/deps
echo "[1] 下载 依赖包"
cd $TMP/deps
apt install --download-only nfs-common rpcbind
cp /var/cache/apt/archives/*.deb .
echo "📥 下载 crictl"
curl -L https://github.com/kubernetes-sigs/cri-tools/releases/download/${CRICLT_VERSION}/crictl-${CRICLT_VERSION}-linux-${ARCH}.tar.gz | tar xz -C .
curl -L https://github.com/kubernetes-sigs/cri-tools/releases/download/${CRICLT_VERSION}/crictl-${CRICLT_VERSION}-linux-${ARCH}.tar.gz -o crictl-${CRICLT_VERSION}-linux-${ARCH}.tar.gz
echo "📥 下载 CNI plugins"
curl -L https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION}/cni-plugins-linux-${ARCH}-${CNI_VERSION}.tgz -o cni-plugins.tgz