forked from SyneRBI/SIRF-Exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.devcontainer.json
More file actions
22 lines (22 loc) · 810 Bytes
/
.devcontainer.json
File metadata and controls
22 lines (22 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/// format: https://aka.ms/devcontainer.json
{
"hostRequirements": {
"cpus": 2,
"memory": "8gb",
"storage": "32gb"
},
"name": "SIRF-Exercises",
//"initializeCommand": "docker system prune --all --force",
"image": "ghcr.io/synerbi/sirf:latest",
/// use image's entrypoint & user
"overrideCommand": false,
//"postStartCommand": "nohup bash -c 'gadgetron >& /tmp/gadgetron.log &'" // already done in image
"remoteUser": "jovyan",
"portsAttributes": {"8888": {"label": "Jupyter", "onAutoForward": "ignore"}},
"postCreateCommand": "bash ./scripts/download_data.sh -m -p && sed -i /astra-toolbox/d environment.yml && mamba env update",
// "features": {}, // https://containers.dev/features
"customizations": {"vscode": {"extensions": [
"ms-python.python",
"ms-toolsai.jupyter",
"ms-python.vscode-pylance"]}}
}