Substitution in feature ids
I try to use substitution in feature id of my devcontainer.json (using ${env:ENV} but it does not seem to work. Is it possible to activate this?
Thanks for opening!
Perhaps you could try containerEnv or remoteEnv: https://containers.dev/implementors/json_reference/?
If they don't seem relevant, could you please share an example of the devcontainer.json you're using and what you'd like to achieve with it (i.e. which part you'd like to use an environment variable for)?
In the devcontainer.json the array features cannot contain a value with a substitution.
for instance I cannot do the following:
{
"features": { "https://example.com/my_feature_${env:FOO_ARG}.tar.gz": {} }
}
Is it possible to have a look to this please? @bamurtaugh I want to use an env variable to be able to fetch a feature from a private repository using a private token. I implemented this feature in a PR for devpod https://github.com/loft-sh/devpod/pull/696
cc @joshspicer would love to get your thoughts here.