Skip to content
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 version property to the devcontainer.json spec (like devcontainer-feature.json and devcontainer-template.json) #540

Open
j2udev opened this issue Jan 10, 2025 · 0 comments

Comments

@j2udev
Copy link

j2udev commented Jan 10, 2025

I've been diving in deeper with devcontainers lately, publishing my own features and templates, etc. When publishing features and templates, the devcontainer cli seems to parse the version property out of the json file and apply it as the image tag (using devcontainer feature/template publish). It would be nice if the devcontainer build --push ... command could do the same. The version property could just be an optional property.

devcontainer.json ref:
https://containers.dev/implementors/json_reference/

devcontainer-feature.json ref:
https://containers.dev/implementors/features/

devcontainer-template.json ref:
https://containers.dev/implementors/templates/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant