From f4cb386e5ab3922e60b74d2f9ca8332157447f25 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 25 Feb 2025 21:23:48 +0100 Subject: [PATCH] fix(docker): update golang base image to amd64 variant Change the base image in the Dockerfile to use the amd64 variant of the golang image to ensure compatibility with the target architecture. This change addresses build issues related to architecture mismatches. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 30edc13..cc7b3d9 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