devcontainers / devcontainers/spec

Add version property to the devcontainer.json spec (like devcontainer-feature.json and devcontainer-template.json)

Open
#540 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

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/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.