-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multi build support #24
Add multi build support #24
Conversation
(disclaimer: I'm not on the VS Code team, so will defer to @chrmarti - my comments are those of an interested observer and someone who has made some contributions in similar areas of the code 😄) Hi @juzuluag, this looks pretty cool - being able to create multi-platform dev container images would be really useful I think. Especially building them in CI and publishing so that they can be referenced in the There has been some recent work here that shifts to using BuildKit/buildx by default (if it is present) for With the buildx work, I think that For the I also think that it would be good to add some tests for the |
Hi @chrmarti and @stuartleeks , any chance to look at the most recent changes? Thanks. |
+1 on this feature request, would be very helpful for my team and our tooling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @juzuluag. Added a few more comments.
Could we be able to prioritize this PR? cc @chrmarti I am working on devcontainers/images to create images based on features by using the devcontainers/cli. We are looking forward to publish these images, but can't yet as they need to be built with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @juzuluag !
Work Item ID
Description
Enhance
devcontainer
CLI build command by adding an option to build multi-platform container images and to push them to a container registry.devcontainer build command will be enhanced with the following arguments:
--platform value1, value2. Comma delimited string with platform types [string].
i.e. value: linux/amd64,linux/arm64
--push push to a container registry [boolean] [default: false]
PR Checklist
Does this introduce a breaking change?
Testing
Manual testing:
List manifest from container registry
Other information or known dependencies
n/a