deployment/docker: update Go builder from Go1.18.5 to Go1.19.0

See https://tip.golang.org/doc/go1.19

Notable changes:

* GOMEMLIMIT environment variable - see https://tip.golang.org/doc/gc-guide
* Faster CPU profiler
* Faster sort algorithm
This commit is contained in:
Aliaksandr Valialkin 2022-08-07 21:03:21 +03:00
parent 9f37935819
commit 2105c43982
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -4,7 +4,7 @@ DOCKER_NAMESPACE := victoriametrics
ROOT_IMAGE ?= alpine:3.16.1 ROOT_IMAGE ?= alpine:3.16.1
CERTS_IMAGE := alpine:3.16.1 CERTS_IMAGE := alpine:3.16.1
GO_BUILDER_IMAGE := golang:1.18.5-alpine GO_BUILDER_IMAGE := golang:1.19.0-alpine
BUILDER_IMAGE := local/builder:2.0.0-$(shell echo $(GO_BUILDER_IMAGE) | tr :/ __)-1 BUILDER_IMAGE := local/builder:2.0.0-$(shell echo $(GO_BUILDER_IMAGE) | tr :/ __)-1
BASE_IMAGE := local/base:1.1.3-$(shell echo $(ROOT_IMAGE) | tr :/ __)-$(shell echo $(CERTS_IMAGE) | tr :/ __) BASE_IMAGE := local/base:1.1.3-$(shell echo $(ROOT_IMAGE) | tr :/ __)-$(shell echo $(CERTS_IMAGE) | tr :/ __)