aboutsummaryrefslogtreecommitdiff
path: root/src/go/devcontainer-feature.json
blob: f2b23880dae99acde8b82d29472f626407423f0d (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
{
    "id": "go",
    "version": "1.0.4",
    "name": "Go",
    "documentationURL": "https://github.com/devcontainers/features/tree/main/src/go",
    "description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "latest",
                "none",
                "1.19",
                "1.18"
            ],
            "default": "latest",
            "description": "Select or enter a Go version to install"
        }
    },
    "init": true,
    "customizations": {
        "vscode": {
            "extensions": [
                "golang.Go"
            ]
        }
    },
    "containerEnv": {
        "GOPATH": "/usr/local/go",
        "PATH": "${GOPATH}/bin:${PATH}"
    },
    "capAdd": [
        "SYS_PTRACE"
    ],
    "securityOpt": [
        "seccomp=unconfined"
    ]
}