File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-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.24-bullseye" ,
7+
8+ // Features to add to the dev container. More info: https://containers.dev/features.
9+ // "features": {},
10+
11+ // Configure tool-specific properties.
12+ "customizations" : {
13+ // Configure properties specific to VS Code.
14+ "vscode" : {
15+ "settings" : {},
16+ "extensions" : [
17+ " streetsidesoftware.code-spell-checker"
18+ ]
19+ }
20+ },
21+
22+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
23+ // "forwardPorts": [9000],
24+
25+ // Use 'portsAttributes' to set default properties for specific forwarded ports.
26+ // More info: https://containers.dev/implementors/json_reference/#port-attributes
27+ "portsAttributes" : {
28+ "9000" : {
29+ "label" : " Hello Remote World" ,
30+ "onAutoForward" : " notify"
31+ }
32+ }
33+
34+ // Use 'postCreateCommand' to run commands after the container is created.
35+ // "postCreateCommand": "go version",
36+
37+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+ // "remoteUser": "root"
39+ }
You can’t perform that action at this time.
0 commit comments