Skip to content

Commit 5471a9f

Browse files
committed
Dev container
1 parent 99f7a4e commit 5471a9f

File tree

1 file changed

+25
-35
lines changed

1 file changed

+25
-35
lines changed

.devcontainer/devcontainer.json

Lines changed: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,29 @@
11
// 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/miniconda
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
33
{
4-
"name": "Miniconda (Python 3)",
5-
"image": "mcr.microsoft.com/devcontainers/miniconda:0-3",
6-
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:3.12",
77
"features": {
8-
"ghcr.io/devcontainers-contrib/features/hatch:2": {},
9-
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {
10-
"installTinyTex": true,
11-
"installChromium": true,
12-
"version": "latest"
13-
}
8+
"ghcr.io/devcontainers-extra/features/copier:7.0.15": {
9+
"version": "9.10.2"
10+
},
11+
"ghcr.io/devcontainers-extra/features/hatch:2.0.18": {
12+
"version": "1.14.2"
13+
},
14+
"ghcr.io/devcontainers-extra/features/pre-commit:2.0.18": {
15+
"version": "4.3.0"
16+
},
17+
"ghcr.io/devcontainers-extra/features/black:2.0.18": {
18+
"version": "25.9.0"
19+
},
20+
"ghcr.io/devcontainers-extra/features/isort:2.0.18": {
21+
"version": "6.0.1"
22+
},
23+
"ghcr.io/va-h/devcontainers-features/uv:1": {
24+
"version": "0.8.22"
25+
},
1426
},
15-
"customizations": {
16-
"vscode": {
17-
"extensions": [
18-
"njpwerner.autodocstring",
19-
"ms-python.python"
20-
],
21-
"settings": {
22-
"autoDocstring.docstringFormat": "numpy"
23-
}
24-
}
25-
}
26-
27-
// Features to add to the dev container. More info: https://containers.dev/features.
28-
// "features": {},
29-
30-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
31-
// "forwardPorts": [],
32-
33-
// Use 'postCreateCommand' to run commands after the container is created.
34-
// "postCreateCommand": "python --version",
35-
36-
37-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38-
// "remoteUser": "root"
39-
}
27+
"extensions": [
28+
"ms-vscode.live-server",
29+
]

0 commit comments

Comments
 (0)