-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for VS Code Extensions #68
Comments
BTW, I currently do this outside the context of envbuilder after the container is built:
|
I confirm that support for installing VS Code Extensions based on devcontainer.json is highly anticipated by many users. |
Hi! I would like to apply your solution. What place are you injected these code? |
I've been exploring solutions to this issue and the approach that stands out the most is that we support installing extensions from Currently, envbuilder lacks awareness of both VS Code Server and code-server. It makes sense for envbuilder to remain agnostic about specific customizations. If we look at Codespaces, the VS Code extensions from The use-case that we probably should enable (either via envbuilder itself of Examples of this exists in Tool Examples over at We can observe that e.g. Thoughts? How should we take envbuilder forward? Related issues:
Side-note: I've also noticed that the "entrypoint" from Dev Container features doesn't get launched via envbuilder. Similarly, envbuilder doesn't respect the final |
I wonder if this is something our |
Related: #121 |
@bpmct In theory I like that idea, but in practice I think pushing this information back to the provider could be challenging and have support for only a limited number of use-cases. One of the issues is that we should also consider the JSON pulled in via Dev container features, this is only available at build time or in the final image. Without a way to propagate this information from envbuilder to provider, it'd be challenging to do in a robust way. Two options I think are feasible (for support in e.g.
I like option 1. since it's what Option 2 is more limited but means we don't need to support an API/CLI args. |
I like option 1 too :) |
@mafredri to resolve this issue in favor of smaller subtasks |
This has now been broken out into separate features.
Closing this issue as not planned. |
Reopening this issue as this is what people will be searching for and the other issues are implementation details. Also pinning it as its commonly requested Some questions
|
The devcontainer spec supports pre-installing VS Code extensions. Could we support this with the code-server CLI (or even the official vscode-server for Remote SSH)?
This came up from a prospect at Kubecon
The text was updated successfully, but these errors were encountered: