generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdevcontainer-feature.json
More file actions
114 lines (114 loc) · 3.24 KB
/
devcontainer-feature.json
File metadata and controls
114 lines (114 loc) · 3.24 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"id": "go",
"version": "1.7.25",
"name": "Go",
"documentationURL": "https://github.com/bartventer/arch-devcontainer-features/tree/main/src/go",
"licenseURL": "https://github.com/bartventer/arch-devcontainer-features/blob/main/LICENSE",
"description": "Installs Go and common Go utilities.",
"options": {
"goVersion": {
"type": "string",
"default": "latest",
"description": "Version of Go to install (https://go.dev/dl/, https://github.com/golang/go/tags).",
"proposals": [
"latest",
"go1.25.0",
"go1.25rc1"
]
},
"golangciLintVersion": {
"type": "string",
"default": "latest",
"description": "Version of golangci-lint to install (https://github.com/golangci/golangci-lint/releases).",
"proposals": [
"latest",
"v2.1.1",
"v1.64.8",
"none"
]
},
"installGoReleaser": {
"type": "boolean",
"default": false,
"description": "Whether to install GoReleaser (https://goreleaser.com/)."
},
"installGox": {
"type": "boolean",
"default": false,
"description": "Whether to install gox, a tool for Go cross compilation that parallelizes builds for multiple platforms (https://github.com/mitchellh/gox)."
},
"installKo": {
"type": "boolean",
"default": false,
"description": "Whether to install ko, a container image builder for Go applications (https://github.com/ko-build/ko)."
},
"installYaegi": {
"type": "boolean",
"default": false,
"description": "Whether to install Yaegi, a Go interpreter that includes the yaegi command-line interpreter/REPL (https://github.com/traefik/yaegi)."
},
"installAir": {
"type": "boolean",
"default": false,
"description": "Whether to install Air, a live reload tool for Go applications (https://github.com/cosmtrek/air)."
},
"installCobraCli": {
"type": "boolean",
"default": false,
"description": "Whether to install Cobra CLI, a library for creating powerful modern CLI applications (https://github.com/spf13/cobra-cli/blob/main/README.md)."
}
},
"init": true,
"customizations": {
"vscode": {
"settings": {
"go.lintTool": "golangci-lint-v2",
"go.lintFlags": [
"run",
"--issues-exit-code=0",
"--output.text.colors=true",
"--output.text.path=stdout",
"--output.text.print-issued-lines=false",
"--show-stats=false",
"--fix"
],
"gopls": {
"ui.codelenses": {
"gc_details": true,
"run_govulncheck": true
}
}
},
"extensions": [
"golang.Go",
"766b.go-outliner",
"jinliming2.vscode-go-template",
"premparihar.gotestexplorer"
]
}
},
"containerEnv": {
"GOPATH": "/go",
"GOROOT": "/usr/local/go",
"PATH": "/go/bin:/usr/local/go/bin:${PATH}"
},
"capAdd": [
"SYS_PTRACE"
],
"securityOpt": [
"seccomp=unconfined"
],
"installsAfter": [
"ghcr.io/bartventer/arch-devcontainer-features/common-utils"
],
"keywords": [
"arch linux",
"go",
"golang",
"golangci-lint",
"goreleaser",
"gox",
"ko",
"yaegi"
]
}