From 1900e4d8eb8c53bfaa56a399ed00df341f48d7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Tue, 27 Aug 2024 13:28:34 +0200 Subject: [PATCH] Dockerfile: update containerd binary to v1.7.21 (static binaries and CI only) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the containerd binary that's used in CI and static binaries - full diff: https://github.com/containerd/containerd/compare/v1.7.20...v1.7.21 - release notes: https://github.com/containerd/containerd/releases/tag/v1.7.21 ```markdown changelog Update containerd (static binaries only) to [v1.7.21](https://github.com/containerd/containerd/releases/tag/v1.7.21) ``` Signed-off-by: Paweł Gronowski (cherry picked from commit de4fc1c927a6f9a47cb585af359a047953fa15cb) Signed-off-by: Paweł Gronowski --- Dockerfile | 2 +- Dockerfile.windows | 2 +- hack/dockerfile/install/containerd.installer | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index deb66ef4bf..74109221c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -196,7 +196,7 @@ RUN git init . && git remote add origin "https://github.com/containerd/container # When updating the binary version you may also need to update the vendor # version to pick up bug fixes or new APIs, however, usually the Go packages # are built from a commit from the master branch. -ARG CONTAINERD_VERSION=v1.7.20 +ARG CONTAINERD_VERSION=v1.7.21 RUN git fetch -q --depth 1 origin "${CONTAINERD_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS containerd-build diff --git a/Dockerfile.windows b/Dockerfile.windows index 8efffd04ca..e5ad02bbb7 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -164,7 +164,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ARG GO_VERSION=1.21.13 ARG GOTESTSUM_VERSION=v1.8.2 ARG GOWINRES_VERSION=v0.3.1 -ARG CONTAINERD_VERSION=v1.7.20 +ARG CONTAINERD_VERSION=v1.7.21 # Environment variable notes: # - GO_VERSION must be consistent with 'Dockerfile' used by Linux. diff --git a/hack/dockerfile/install/containerd.installer b/hack/dockerfile/install/containerd.installer index 1156c149ff..a549bd317c 100755 --- a/hack/dockerfile/install/containerd.installer +++ b/hack/dockerfile/install/containerd.installer @@ -15,7 +15,7 @@ set -e # the binary version you may also need to update the vendor version to pick up # bug fixes or new APIs, however, usually the Go packages are built from a # commit from the master branch. -: "${CONTAINERD_VERSION:=v1.7.20}" +: "${CONTAINERD_VERSION:=v1.7.21}" install_containerd() ( echo "Install containerd version $CONTAINERD_VERSION"