Closed vadim-su closed 1 year ago
My .devcontainer files
${containerEnv:PATH}
is not the same as the PATH read from the default shell in the container. .local/bin
appears to be added in your .bashrc
(or profile). You could add .local/bin
in "removeEnv"
's PATH to make sure it is set for the postCreateCommand.
@chrmarti Thanks for the answer. I fixed it a similar way, but why do I get the working PATH when I don't set removeEnv
?
Hey @chrmarti, this issue might need further attention.
@suharnikov, you can help us out by closing this issue if the problem no longer exists, or adding more information.
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Log
Steps to Reproduce:
PATH
toremoteEnv
/home/vscode/.local/bin
postCreateCommand
script.Weird situation, because in a container console I have the right
PATH
with.local/bin
. Also when I removePATH
fromremoteEnv
it works fine.