From 62164f0ec1d8451f42762207f038208badc41d72 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 25 Feb 2025 21:30:11 +0100 Subject: [PATCH] fix(docker): use amd64 golang base image for build Replace the Golang base image with the amd64 variant to ensure compatibility across different architectures and improve build consistency. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8e54f24..dbcd0c1 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