Closed strelok1 closed 2 years ago
This feels like a duplicate of https://github.com/Cisco-Talos/clamav/issues/482
Your recommendation on how to do the build will be useful for us to modify our build tooling in Jenkins. If you have any further clarification on how to run the buildx
command, the details will be helpful.
Describe the bug
Official images are only linux/amd64. When run on an M1 Mac or another ARM host you get a warning:
It should be possible to build multi-arch images using
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 ...
How to reproduce the problem
Only one manifest entry for linux/amd64
If I build an image from the Dockerfile in this repo with a recent build of Docker for Mac, for example, a multi-arch image is created that can be run on M1 Macs and other ARM arch hosts, such as latest generation cloud instances from all the major cloud providers: