-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdevcontainer.json
More file actions
38 lines (34 loc) · 1.4 KB
/
devcontainer.json
File metadata and controls
38 lines (34 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Basic Ubuntu with miniforge",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",
// Features to add to the dev container. More info: https://containers.dev/features.
// Add miniforge to make fast conda available
// "features": {
// "ghcr.io/rocker-org/devcontainer-features/miniforge:1": {}
// },
// Use 'postCreateCommand' to run commands after the container is created.
// create example first conda env
//"postCreateCommand": "conda env create --file .devcontainer/env-files/packaging-env.yml",
"postCreateCommand": "chmod +x ./.devcontainer/activateEnv.sh && chmod +x ./.devcontainer/postCreateCommands.sh && ./.devcontainer/postCreateCommands.sh",
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code: adding in useful extensions
"vscode": {
"settings": {},
"extensions": [
"streetsidesoftware.code-spell-checker",
"njpwerner.autodocstring",
"usernamehw.errorlens",
"tamasfe.even-better-toml",
"ninoseki.vscode-mogami",
"KevinRose.vsc-python-indent",
"charliermarsh.ruff",
"mhutchie.git-graph",
"ms-toolsai.jupyter"
]
},
},
}