• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
5    "image": "mcr.microsoft.com/devcontainers/universal:2",
6
7	// Features to add to the dev container. More info: https://containers.dev/features.
8	// "features": {},
9
10	// Use 'forwardPorts' to make a list of ports inside the container available locally.
11	// "forwardPorts": [],
12
13	// Use 'postCreateCommand' to run commands after the container is created.
14    "postCreateCommand":
15        "python -m pip install '.[build,test,development,documentation]'",
16
17    // Configure tool-specific properties.
18    "customizations": {
19        // Configure properties specific to VS Code.
20        "vscode": {
21            // Add the IDs of extensions you want installed when the container is created.
22            "extensions": [
23                "ms-python.python"
24            ]
25        }
26    }
27
28	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
29	// "remoteUser": "root"
30}
31