aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet/devcontainer-feature.json')
-rw-r--r--src/dotnet/devcontainer-feature.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/dotnet/devcontainer-feature.json b/src/dotnet/devcontainer-feature.json
new file mode 100644
index 0000000..04b2811
--- /dev/null
+++ b/src/dotnet/devcontainer-feature.json
@@ -0,0 +1,43 @@
+{
+ "id": "dotnet",
+ "name": "Dotnet CLI",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": [
+ "latest",
+ "6.0",
+ "5.0",
+ "3.1"
+ ],
+ "default": "latest",
+ "description": "Select or enter a dotnet CLI version. (Available versions may vary by Linux distribution.)"
+ },
+ "runtime_only": {
+ "type": "boolean",
+ "default": false,
+ "description": "Install just the dotnet runtime if true, and sdk if false."
+ },
+ "override_default_version": {
+ "type": "boolean",
+ "default": "true",
+ "description": "If true, overrides existing version (if any) of dotnet on the PATH"
+ },
+ "install_using_apt": {
+ "type": "boolean",
+ "default": "true",
+ "description": "If true, it installs using apt instead of the release URL"
+ }
+ },
+ "containerEnv": {
+ "DOTNET_ROOT": "/usr/local/dotnet/current",
+ "PATH": "${PATH}:${DOTNET_ROOT}"
+ },
+ "extensions": [
+ "ms-dotnettools.csharp"
+ ],
+ "install": {
+ "app": "",
+ "file": "install.sh"
+ }
+} \ No newline at end of file