aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/devcontainer-feature.json
blob: 4aa264c131c4e54985b67f161864b6477479e89b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
    "id": "dotnet",
    "version": "1.1.3",
    "name": "Dotnet CLI",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
    "description": "Installs the .NET CLI. Provides option of installing sdk or runtime, and option of versions to install. Uses latest version of .NET sdk as defaults to install.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "7",
                "6",
                "3.1"
            ],
            "default": "latest",
            "description": "Select or enter a dotnet CLI version. (Available versions may vary by Linux distribution.)"
        },
        "runtimeOnly": {
            "type": "boolean",
            "default": false,
            "description": "Install just the dotnet runtime if true, and sdk if false."
        },
        "installUsingApt": {
            "type": "boolean",
            "default": true,
            "description": "If true, it installs using apt instead of the release URL"
        }
    },
    "containerEnv": {
        "DOTNET_ROOT": "/usr/local/dotnet/current",
        "PATH": "/usr/local/dotnet/current:${PATH}"
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-dotnettools.csharp"
            ]
        }
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}