diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-06 12:26:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-06 12:27:40 +0300 |
| commit | ac05beabdbaa90597ed0cfcea781d5ab44d123ba (patch) | |
| tree | a2554bd2b964201abf17eeb3948155fda0a80581 /Dockerfile | |
| parent | 1f39f63188accfbf10f102e7daaaf50ae2155d32 (diff) | |
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.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
