deployment/docker: update Go builder from Go1.21.7 to Go1.22.1

See https://github.com/golang/go/issues?q=milestone%3AGo1.22.1+label%3ACherryPickApproved
This commit is contained in:
Aliaksandr Valialkin 2024-03-06 21:04:09 +02:00
parent 4dc3a0c736
commit 405d2c30d4
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB
4 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.21.7 as build-web-stage
FROM golang:1.22.1 as build-web-stage
COPY build /build
WORKDIR /build

View file

@ -5,7 +5,7 @@ DOCKER_NAMESPACE ?= victoriametrics
ROOT_IMAGE ?= alpine:3.19.1
CERTS_IMAGE := alpine:3.19.1
GO_BUILDER_IMAGE := golang:1.21.7-alpine
GO_BUILDER_IMAGE := golang:1.22.1-alpine
BUILDER_IMAGE := local/builder:2.0.0-$(shell echo $(GO_BUILDER_IMAGE) | tr :/ __)-1
BASE_IMAGE := local/base:1.1.4-$(shell echo $(ROOT_IMAGE) | tr :/ __)-$(shell echo $(CERTS_IMAGE) | tr :/ __)
DOCKER_BUILD ?= docker build

View file

@ -11,6 +11,8 @@ The following `tip` changes can be tested by building VictoriaMetrics components
## v1.93.x long-time support release (LTS)
* SECURITY: upgrade Go builder from Go1.21.7 to Go1.22.1. See [the list of issues addressed in Go1.22.1](https://github.com/golang/go/issues?q=milestone%3AGo1.22.1+label%3ACherryPickApproved).
## [v1.93.13](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.93.13)
Released at 2024-03-01

View file

@ -1,4 +1,4 @@
GO_VERSION ?= 1.21.7
GO_VERSION ?= 1.22.1
SNAP_BUILDER_IMAGE := local/snap-builder:2.0.0-$(shell echo $(GO_VERSION) | tr :/ __)