Code-server as feature in devcontainer-cli setup not inheriting Git Credentials injection
Hi all, I'm trying to create a template using the devcontainers-cli module. Coder agent is properly injecting the GIT_ASKPASS to the devcontainer's environment, but when I run a terminal from code-server (installed using the feature version in devcontainer.json), all environment variables are wiped for some reason. The same is not true for the devcontainer terminal launched directly from the Coder UI, which has all the env variables properly. Any idea how I can make sure the same env variables are present in the code-server terminal?
2 Replies