Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow setting platform for scratch image
BuildKit refers to platform set in the current LLB node for determining whether or not executing commands should use QEMU. This makes some build flows working fine without BuildKit to fail with it. This is of particular importance for cross-compilation cases. Make scratch image a no exception and allow platform to be set, therefore determining the architecture of binaries planned to be ran (e.g. if they are COPYed from contexts)
- Loading branch information