-
Notifications
You must be signed in to change notification settings - Fork 224
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
--platform and --push flags force the use of a Dockerfile even if features are referenced #106
Comments
This seems intentional - @juzuluag do you recall what scenario this was attempting to prevent? |
Before features was implemented, this would make sense. Post-features, it doesn't - so I'm assuming this was just a good check that no longer applies. |
Hi, @joshspicer. As far I recall, it was to prevent an error when there was no dockerfile file specified as part of |
I missed that case when we brought the multi-arch changes in on-top of then recent work on features. I see |
I just ran into this while trying out devcontainers/ci#175. Hopefully this can be resolved soon, because we'd love to migrate our repos to use devcontainer features, but I'm not sure it's worth it until we can get ARM64 prebuilds too. |
@joshspicer @chrmarti @jkeech Given the templates now use an image by default, I think the priority of this one is pretty high as I think about it. It sounds like a minor fix. |
This should now be working with yesterday's release (0.27.1). 🎉 The GitHub Action should be grabbing the latest verison of the CLI automatically and should now work too. |
The
--platform
and--push
flags are important enablers for pre-building images - particularly those that take advantage of Dev Container Features (devcontainers/spec#61).Unfortunately, right now there's an error if only an
image
is referenced along with a set of features indevcontainer.json
. Given just being able to just start from an image is one of the primary goals of Dev Container Features, this seems to be pretty clearly a bug.This occurred in version 0.9.1 of the CLI.
//cc @chrmarti @joshspicer @alexdima @bamurtaugh
The text was updated successfully, but these errors were encountered: