From 15782881ee49463adcd2e65e91973ebe379f65f9 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Tue, 23 Apr 2024 10:41:40 +0900 Subject: [PATCH] go.mod: go 1.22 Depended by k8s.io/cri-api >= v0.30.0 (Kubernetes v1.30, PR 10019) https://github.com/kubernetes/cri-api/blob/v0.30.0/go.mod#L5 Signed-off-by: Akihiro Suda --- BUILDING.md | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index e9cb98660..c6f4f1a06 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -25,7 +25,7 @@ A codespace will open in a web-based version of Visual Studio Code. The [dev con To build the `containerd` daemon, and the `ctr` simple test client, the following build system dependencies are required: -* Go 1.21.x or above +* Go 1.22.x or above * Protoc 3.x compiler and headers (download at the [Google protobuf releases page](https://github.com/protocolbuffers/protobuf/releases)) * Btrfs headers and libraries for your distribution. Note that building the btrfs driver can be disabled via the build tag `no_btrfs`, removing this dependency. diff --git a/go.mod b/go.mod index 084bf8e9f..6a27bf1df 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/containerd/containerd/v2 -go 1.21 +go 1.22.0 require ( dario.cat/mergo v1.0.0