From 73dfb030ddd59eeb6138e89f5bc38e035588eab6 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 18 May 2023 14:08:34 -0700 Subject: [PATCH] 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 --- deployment/docker/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index 6db3ac0ca..93584ea46 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -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.4-$(shell echo $(ROOT_IMAGE) | tr :/ __)-$(shell echo $(CERTS_IMAGE) | tr :/ __)