Open wbreza opened 1 year ago
Update: Works with full os/arch specified.
Works: --platform linux/amd64
Fails: --platform amd64
(Previously worked in versions < 4.19.0)
I met similar error outputs on Intel macOS (11.x) with --platform linux/arm64
. After downgrading to 4.18.0, everything works again.
Actual behavior
Running
docker build --platform amd64 .
fails with error:Output
Running
docker build .
without--platform
flag works as expected.Expected behavior
docker build
command should work sinceamd64
is a supported platformInformation
Steps to reproduce the behavior
docker build --platform amd64 .
in same directory asDockerfile