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
I wasn't able to find anything suggesting this was possible, nor did it seem to work when I tried it myself.
I'd like to see the ability to specify a default value for local environment variable values in the runArgs property of the devcontainer.json file. I'm trying to use the value of a local env var to determine the filesystem source of a bind mount into the remote environment container, or default to a named volume if the variable does not exist.
I propose the ability to use the standard way of defining a default value for a shell/environment variable, with the <variable-name>:-<default-value>. I have tried this and it does not seem to work. An example is shown below for the runArgs property of the devcontainer.json file.
I wasn't able to find anything suggesting this was possible, nor did it seem to work when I tried it myself.
I'd like to see the ability to specify a default value for local environment variable values in the
runArgs
property of thedevcontainer.json
file. I'm trying to use the value of a local env var to determine the filesystem source of a bind mount into the remote environment container, or default to a named volume if the variable does not exist.I propose the ability to use the standard way of defining a default value for a shell/environment variable, with the
<variable-name>:-<default-value>
. I have tried this and it does not seem to work. An example is shown below for therunArgs
property of thedevcontainer.json
file.The text was updated successfully, but these errors were encountered: