From ac05beabdbaa90597ed0cfcea781d5ab44d123ba Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 6 May 2026 12:26:37 +0300 Subject: pin Docker build to linux/amd64 for cross-compilation Adds --platform=linux/amd64 to the Dockerfile FROM directive and to the docker build/run invocations in scripts/build-with-docker.sh so the ior binary is always cross-compiled for amd64 regardless of host arch. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index d190056..22b706a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rockylinux:9-minimal +FROM --platform=linux/amd64 rockylinux:9-minimal # Update GO_VERSION here to upgrade the Go toolchain baked into the image. ARG GO_VERSION=1.26.2 -- cgit v1.2.3