summaryrefslogblamecommitdiff
path: root/features/src/go/devcontainer-feature.json
blob: ff2a4690c1ad64d2058702ab7358e859be753895 (plain) (tree)














































                                                                                                                        
{
    "id": "go",
    "version": "1.2.2",
    "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.21",
                "1.20"
            ],
            "default": "latest",
            "description": "Select or enter a Go version to install"
        },
        "golangciLintVersion": {
            "type": "string",
            "default": "latest",
            "description": "Version of golangci-lint to install"
        }
    },
    "init": true,
    "customizations": {
        "vscode": {
            "extensions": [
                "golang.Go"
            ]
        }
    },
    "containerEnv": {
        "GOROOT": "/usr/local/go",
        "GOPATH": "/go",
        "PATH": "/usr/local/go/bin:/go/bin:${PATH}"
    },
    "capAdd": [
        "SYS_PTRACE"
    ],
    "securityOpt": [
        "seccomp=unconfined"
    ],
    "installsAfter": [
        "https://gitrepo.ru/api/packages/NeonXP/generic/features/latest/devcontainer-feature-common-utils.tgz"
    ]
}