deployment/docker/Makefile: use alpine 3.17.3 instead of alpine 3.18.0 for certs image, since alpine 3.18.0 doesnt work for cross-platform builds

This commit is contained in:
Aliaksandr Valialkin 2023-05-18 14:08:34 -07:00
parent 6e2782b5b7
commit ef2db0096e
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -3,7 +3,12 @@
DOCKER_NAMESPACE := victoriametrics
ROOT_IMAGE ?= alpine:3.18.0
CERTS_IMAGE := alpine:3.18.0
# Use alpine:3.17.3 instead of 3.18.0 for CERTS_IMAGE
# because alpine:3.18.0 is broken for cross-platform builds
# TODO: sync it with ROOT_IMAGE when it will be fixed in the new alpine releases
CERTS_IMAGE := alpine:3.17.3
GO_BUILDER_IMAGE := golang:1.20.4-alpine
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 :/ __)