aboutsummaryrefslogtreecommitdiff
path: root/src/go/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/devcontainer-feature.json')
-rw-r--r--src/go/devcontainer-feature.json22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/go/devcontainer-feature.json b/src/go/devcontainer-feature.json
index 3c47c4a..927850e 100644
--- a/src/go/devcontainer-feature.json
+++ b/src/go/devcontainer-feature.json
@@ -1,24 +1,36 @@
{
"id": "go",
"name": "Go",
+ "description": "Installs Go and common Go utilities. Auto-detects latest version and installs needed dependencies.",
"options": {
"version": {
"type": "string",
- "proposals": ["latest", "none", "1.18", "1.17"],
+ "proposals": [
+ "latest",
+ "none",
+ "1.18",
+ "1.17"
+ ],
"default": "latest",
"description": "Select or enter a Go version to install"
}
},
"init": true,
- "extensions": ["golang.Go"],
+ "extensions": [
+ "golang.Go"
+ ],
"containerEnv": {
"GOPATH": "/usr/local/go",
"PATH": "${GOPATH}/bin:${PATH}"
},
- "capAdd": [ "SYS_PTRACE" ],
- "securityOpt": [ "seccomp=unconfined" ],
+ "capAdd": [
+ "SYS_PTRACE"
+ ],
+ "securityOpt": [
+ "seccomp=unconfined"
+ ],
"install": {
"app": "",
"file": "install.sh"
}
-}
+} \ No newline at end of file