From 8dbe2315c33257abcac05d8f923fb8d9bd502f73 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 25 Feb 2025 21:44:43 +0100 Subject: [PATCH] fix(docker): update base image to use amd64 architecture Change the base image in the Dockerfile to utilize the amd64 version of the golang image. This ensures compatibility with the target architecture for builds and improves the reliability of the build process. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fe3f03a..a6b3f70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24.0@sha256:58cf31c1b10858d5772475e4f86853a03e0e220cc6cfd60965053951a2563b5e as builder +FROM amd64/golang:1.24.0@sha256:4a3f1013f696a1f86314902f2c9907fe712eabc91e911cc9fde4fdc57a16d35d as builder WORKDIR /src COPY * ./ RUN go get