Is this the best practice for building and running Docker images using Pants on both mac and linux?
We only need to create the image for a single platform (linux/amd64) but we would like to be able build the image and run the contaiber locally on both mac and linux.
What we tried:
• Create BUILD files and Dockerfile for
multi-stage build leveraging 2 PEXs
• Generate a
complete_platforms
file on linux
• Add
file
target to BUILD file for PEX binaries
• Add `complete_platforms=[":linux_x86_py39",