From b86c2c49f4475170679dbb18cf3b7990bf2cb982 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 25 Feb 2025 21:31:56 +0100 Subject: [PATCH] fix(docker): update base image to amd64/golang 1.24.0 Replace the base image in the Dockerfile with amd64/golang:1.24.0 to ensure compatibility across different architectures and improve build stability. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 887a952..2c21533 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24.0@sha256:58cf31c1b10858d5772475e4f86853a03e0e220cc6cfd60965053951a2563b5e as build +FROM amd64/golang:1.24.0@sha256:4a3f1013f696a1f86314902f2c9907fe712eabc91e911cc9fde4fdc57a16d35d as build WORKDIR /build ENV CGO_ENABLED=0 ADD . /build -- 2.52.0