File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/go
3
+ {
4
+ "name" : " Go" ,
5
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
+ "image" : " mcr.microsoft.com/devcontainers/go:1-1.22-bookworm" ,
7
+ "features" : {
8
+ "ghcr.io/devcontainers/features/github-cli:1" : {
9
+ "installDirectlyFromGitHubRelease" : true ,
10
+ "version" : " latest"
11
+ }
12
+ },
13
+ // Features to add to the dev container. More info: https://containers.dev/features.
14
+ // "features": {},
15
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
16
+ // "forwardPorts": [],
17
+ // Use 'postCreateCommand' to run commands after the container is created.
18
+ // "postCreateCommand": "go version",
19
+ // Configure tool-specific properties.
20
+ "customizations" : {
21
+ // Configure properties specific to VS Code.
22
+ "vscode" : {
23
+ // Add the IDs of extensions you want installed when the container is created.
24
+ "extensions" : [
25
+ " golang.go"
26
+ ]
27
+ }
28
+ }
29
+
30
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
31
+ // "remoteUser": "root"
32
+ }
You can’t perform that action at this time.
0 commit comments