You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing a multi-word containerEnv variable to a feature does not work without explicitly adding quotes. For example the following devcontainer-feature.json:
{
..."containerEnv": {
"MY_VAR": "some value"
}
}
Leads to the dockerfile command ENV MY_VAR=some value which is invalid, since the ENV command allows multiple key-value pairs. Instead, the user currently has to use "MY_VAR": "\"some value\"".
The text was updated successfully, but these errors were encountered:
Passing a multi-word
containerEnv
variable to a feature does not work without explicitly adding quotes. For example the followingdevcontainer-feature.json
:Leads to the dockerfile command
ENV MY_VAR=some value
which is invalid, since theENV
command allows multiple key-value pairs. Instead, the user currently has to use"MY_VAR": "\"some value\""
.The text was updated successfully, but these errors were encountered: