Merge pull request #47335 from thaJeztah/containerd_binary_2.0.0-beta.2

Dockerfile: test containerd v2.1.4
This commit is contained in:
Akihiro Suda
2025-10-22 17:16:30 +09:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ RUN git init . && git remote add origin "https://github.com/containerd/container
# integration tests. The distributed docker .deb and .rpm packages depend on a # integration tests. The distributed docker .deb and .rpm packages depend on a
# separate (containerd.io) package, which may be a different version as is # separate (containerd.io) package, which may be a different version as is
# specified here. # specified here.
ARG CONTAINERD_VERSION=v1.7.28 ARG CONTAINERD_VERSION=v2.1.4
RUN git fetch -q --depth 1 origin "${CONTAINERD_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD RUN git fetch -q --depth 1 origin "${CONTAINERD_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD
FROM base AS containerd-build FROM base AS containerd-build

View File

@@ -168,7 +168,10 @@ ARG GOTESTSUM_VERSION=v1.13.0
# GOWINRES_VERSION is the version of go-winres to install. # GOWINRES_VERSION is the version of go-winres to install.
ARG GOWINRES_VERSION=v0.3.3 ARG GOWINRES_VERSION=v0.3.3
ARG CONTAINERD_VERSION=v1.7.28
# TODO: Update containerd version to match Linux version once
# https://github.com/microsoft/hcsshim/issues/2488 is resolved.
ARG CONTAINERD_VERSION=v2.0.6
# Environment variable notes: # Environment variable notes:
# - GO_VERSION must be consistent with 'Dockerfile' used by Linux. # - GO_VERSION must be consistent with 'Dockerfile' used by Linux.

View File

@@ -10,7 +10,7 @@ set -e
# as is specified here. # as is specified here.
# #
# Generally, the commit specified here should match a tagged release. # Generally, the commit specified here should match a tagged release.
: "${CONTAINERD_VERSION:=v1.7.28}" : "${CONTAINERD_VERSION:=v2.1.4}"
install_containerd() ( install_containerd() (
echo "Install containerd version $CONTAINERD_VERSION" echo "Install containerd version $CONTAINERD_VERSION"