aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/devcontainer-feature.json
blob: 1c317fd2abc7ea6decdcff33ee32db7242eb9d09 (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
{
    "id": "dotnet",
    "version": "2.0",
    "name": ".NET CLI",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
    "description": "Installs the .NET CLI. Offers options to install a specific version of the .NET CLI, additional versions of the CLI, or just the .NET runtime.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "7",
                "6",
                "3.1"
            ],
            "default": "latest",
            "description": "Version of the .NET CLI to install. Use 'latest' to install the latest LTS version."
        },
        "additionalVersions": {
            "type": "string",
            "default": "",
            "description": "Comma-separated list of additional .NET CLI versions to install."
        },
        "runtimeOnly": {
            "type": "boolean",
            "default": false,
            "description": "Only install the .NET runtime. If true, then the .NET SDK is not installed."
        }
    },
    "containerEnv": {
        "DOTNET_ROOT": "/usr/local/dotnet/current",
        "PATH": "/usr/local/dotnet/current:${PATH}"
    },
    "installsAfter": [
        "ghcr.io/devcontainers/features/common-utils"
    ]
}