devcontainers / devcontainers/spec

Schema: containerEnv's type should add support for "boolean"

Open
#286 4 comments 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

@samruddhikhandale maybe a bit nitpicky but I would like to be able to use JSON booleans in `containerEnv`, validation is failing because only strings are allowed.

``` json
{
"containerEnv": {
"DOTNET_RUNNING_IN_CONTAINER": true
}
}
```

![image](https://github.com/devcontainers/features/assets/1583241/8a037826-4e74-447a-9608-749100863d15)

_Originally posted by @sliekens in https://github.com/devcontainers/features/issues/628#issuecomment-1664581701_

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.