Skip to content

Commit 3f82a02

Browse files
committed
devcontainer added
1 parent e2a6443 commit 3f82a02

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@
33
{
44
"name": "Go",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/go:1-1.23-bookworm"
7-
6+
"image": "mcr.microsoft.com/devcontainers/go:1-1.23-bookworm",
87
// Features to add to the dev container. More info: https://containers.dev/features.
9-
// "features": {},
10-
8+
"features": {
9+
"ghcr.io/devcontainers/features/python:1": {
10+
"toolsToInstall": "bump2version"
11+
}
12+
}
1113
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1214
// "forwardPorts": [],
13-
1415
// Use 'postCreateCommand' to run commands after the container is created.
1516
// "postCreateCommand": "go version",
16-
1717
// Configure tool-specific properties.
1818
// "customizations": {},
19-
2019
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2120
// "remoteUser": "root"
22-
}
21+
}

0 commit comments

Comments
 (0)