Skip to content

Test: Allow for default value in ${localEnv:...} and ${containerEnv:...} #7100

@chrmarti

Description

@chrmarti

Refs: devcontainers/spec#63

Complexity: 2

Create Issue


Use the latest Remote-Containers pre-release (currently 0.248.0) or Dev Containers CLI (currently 0.12.1) for testing.

A devcontainer.json's property values can reference environment variables locally and inside the container. Test that the updated syntax supports having a default value that is used when the environment variable is not set: ${localEnv:ENV_VAR:default_value} and ${containerEnv:ENV_VAR:default_value}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions