microsoft / vscode-dev-containers

NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
https://aka.ms/vscode-remote
MIT License
4.71k stars 1.4k forks source link

Missing some SDK/CLI "features" for remote containers #1122

Open Rabadash8820 opened 3 years ago

Rabadash8820 commented 3 years ago

There are a couple glaring CLIs/SDKs missing from the remote container "features" menu in VS Code:

I was hoping to make PRs for these, but the shell scripts for the Azure CLI and others were kind of daunting. If there are any approachable docs or templates, I'd still be open to trying to implement some of these myself.

Relates to: Remote - Containers

Chuxel commented 3 years ago

Yeah @2percentsilk and @joshspicer are working with @chrmarti to enable 3rd party features and we'll start to get docs together to explain how to do this as a part of that effort. We can likely setup some quick docs for implementing a script even ahead of that.

The scripts that exist today support things like partial version matching, auto-detection of a non-root user for setting up config where needed, arm64/x86 support, etc which is why they're more complicated. We also do checksum verification or signing verification on things we download. For example, for the Azure CLI, there's debian packages for x86, but not arm64 (for M1 macs), so it falls back on using pip in the case that we're on arm64.

Rabadash8820 commented 3 years ago

Interesting. Well I look forward to those future docs. Having set up a dev container with the AWS CLI for my own usage, I can say that that one, at least, only takes a few lines, even with PGP key verification.

Feel free to close this Issue if these features are already being tracked elsewhere.

joshspicer commented 2 years ago

Thanks for the list. These are certainly "features" that we hope will start popping up in the community once we're ready to enable third party feature discovery in our tooling. I don't have any documentation yet, but we plan on putting something together (including templates) in the near future :)

takekazuomi commented 2 years ago

I also want to add bicep. Waiting for documents and templates.

esgraham commented 2 years ago

@bderusha and @Kpopovs1 working on issue

esgraham commented 2 years ago

Dotnet CLI has been added to the "Feature" area of dev containers. Documentation has been created that details how to add other SDKs or CLIs.

Pull Requests associated to Issue:
(Dotnet CLI added to Feature) https://github.com/microsoft/vscode-dev-containers/pull/1210 (Documentation Added): https://github.com/microsoft/vscode-dev-containers/pull/1246