Skip to content

Commit ffb3f8f

Browse files
authored
chore(devcontainer): create devcontainer.json configuration
1 parent d37f5cb commit ffb3f8f

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm",
7+
"features": {
8+
"ghcr.io/wxw-matt/devcontainer-features/command_runner:0": {},
9+
"ghcr.io/va-h/devcontainers-features/uv:1": {
10+
"shellautocompletion": true,
11+
"version": "latest"
12+
},
13+
"ghcr.io/devcontainers-extra/features/actions-runner:1": {
14+
"version": "latest",
15+
"dotnetVersion": "latest"
16+
},
17+
"ghcr.io/devcontainers/features/github-cli:1": {}
18+
},
19+
// Use 'postCreateCommand' to run commands after the container is created.
20+
"postCreateCommand": "",
21+
"customizations": {
22+
"vscode": {
23+
"extensions": [
24+
"ms-python.python",
25+
"ms-python.vscode-pylance",
26+
"ms-python.mypy-type-checker",
27+
"charliermarsh.ruff"
28+
]
29+
}
30+
}
31+
// Features to add to the dev container. More info: https://containers.dev/features.
32+
// "features": {},
33+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
34+
// "forwardPorts": [],
35+
// Configure tool-specific properties.
36+
// "customizations": {},
37+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+
// "remoteUser": "root"
39+
}

0 commit comments

Comments
 (0)