spec
spec copied to clipboard
`--platform` option for the base image (the `image` field)
When using a Dockerfile, the architecture of the image can be specified explicitly.
FROM --platform=linux/amd64 ubuntu:jammy
https://docs.docker.com/build/building/multi-platform/
Can the same thing be done in devcontainer.json?
Hi 👋
Thanks for the 💡 , appreciate it! ✨
As the CLI already provides support for building multi-platform images, I think it's fair to add this support to the devcontainer.json.
// cc @chrmarti @joshspicer