Add 'remoteUserHome' variable to devcontainer-feature.json
#391
Labels
feature-request
New feature or request
devcontainer-feature.json
#391
Scenario - In
devcontainer-feature.json
I’d like to do update thecontainerEnv.PATH
as follows 👇where the
remoteUserHome
can be/root
or/home/userName
depending upon the remote user. Currently, I am not able to add the following to thePATH
because the remote user is dynamic and hardcoding wouldn't work.As
remoteUserHome
is available during running feature scripts, I wonder if they could be available when thecontainerEnv
merge logic is implemented?I also tried to add
~/.local/bin
to the PATH, however, that doesn't work if a shell is not invoked. Hence, doesn't help in my scenario.The text was updated successfully, but these errors were encountered: