-
Notifications
You must be signed in to change notification settings - Fork 8
/
devcontainer-feature.json
47 lines (47 loc) · 1.21 KB
/
devcontainer-feature.json
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
45
46
47
{
"id": "go",
"version": "1.2.0",
"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"
},
"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": [
"ghcr.io/devcontainers/features/common-utils"
]
}