feat: Build amd64 images explicitly to avoid cross-platform issues
alexlokshin-czi opened this issue · comments
Alex Lokshin commented
Supposedly passing --platform linux/amd64
into docker build
and docker run
will do.
Eduardo Lopez commented
Does this always work? what if you are running this from another os/arch?
Alex Lokshin commented
A workflow to create multi-arch images: https://docs.microsoft.com/en-us/azure/container-registry/push-multi-architecture-images, github action for matrix multi architecture builds: https://pet2cattle.com/2021/09/build-multiarch-container-github-action