Skip to content

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

@j2udev

Description

@j2udev

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions