Skip to content

Commit

Permalink
Pin platform of builder image (#2675)
Browse files Browse the repository at this point in the history
Previously I thought the platform does not matter for 'scratch'.
However the image build is failing in CI.
It worked on my machine with both podman and moby.

Signed-off-by: Matej Vašek <[email protected]>
  • Loading branch information
matejvasek authored Jan 29, 2025
1 parent 60d9126 commit ee3a2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.utils
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM scratch AS builder
FROM --platform=$BUILDPLATFORM scratch AS builder

ARG BUILDPLATFORM
ARG BUILDARCH
Expand Down

0 comments on commit ee3a2b9

Please sign in to comment.