AFAIK using Docker to build an image for AMD64 on ARM64-based hardware (such as Mac M1/2) requires setting a few different CLI options
docker buildx build
instead ofdocker build
- adding the switch
--platform linux/amd64
- adding the switch
--push=true
to publish the image to a repository
Is there any option to passing these arguments to ansible-builder
(3.0.0) in order to build (and publish) the image, or would building and publishing need to be done with docker
and only use ansible-builder
to create the Dockerfile?