Build tool: gradle 8.7 with custom binary plugin using v0.27.1-core
OS: Darwin Kernel Version 23.5.0
Description of the issue:
I have my cloud running amd64/linux containers hence I build with .setPlatforms(setOf(Platform("amd64", "linux"))). My CI setup is the same arch however sometimes I use to deploy from my M1 Mac (build image + push image + deploy) and since #4249 I'm getting
The configured platforms don't match the Docker Engine's OS and architecture (linux/arm64)
I see that there are changes in that PR that examine docker -info and my setup obviously reports Architecture: aarch64 which being treated as an error despite my Mac totally happy to docker build --platform linux/amd64.
While this issue being triaged/fixed, maybe someone knows a way to configure docker to pretend it running on amd64 when asked for docker info ...?
Environment:
Description of the issue: I have my cloud running amd64/linux containers hence I build with
.setPlatforms(setOf(Platform("amd64", "linux")))
. My CI setup is the same arch however sometimes I use to deploy from my M1 Mac (build image + push image + deploy) and since #4249 I'm gettingI see that there are changes in that PR that examine
docker -info
and my setup obviously reportsArchitecture: aarch64
which being treated as an error despite my Mac totally happy todocker build --platform linux/amd64
.While this issue being triaged/fixed, maybe someone knows a way to configure docker to pretend it running on amd64 when asked for
docker info ...
?