-
Notifications
You must be signed in to change notification settings - Fork 2
/
devcontainer.json
47 lines (41 loc) · 2.03 KB
/
devcontainer.json
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
39
40
41
42
43
44
45
46
47
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/r
{
"name": "eval-germany-sp-nowcasting",
"image": "ghcr.io/epiforecasts/eval-germany-sp-nowcasting:main",
"workspaceFolder": "/eval-germany-sp-nowcasting",
"shutdownAction": "none",
// To use a volume, use the following syntax (then clone your code):
//"workspaceMount": "source=eval-germany-sp-nowcasting,target=/eval-germany-sp-nowcasting,type=volume"
// To bind mount a volume, use the following syntax:
"workspaceMount": "source=/home/epiforecasts/eval-germany-sp-nowcasting,target=/eval-germany-sp-nowcasting,type=bind,consistency=cached",
// Set *default* container specific settings.json values on container create.
"settings": {
"r.rterm.linux": "/usr/local/bin/radian",
"r.bracketedPaste": true,
"r.sessionWatcher": true,
"[r]": {
"editor.wordSeparators": "`~!@#%$^&*()-=+[{]}\\|;:'\",<>/?"
}
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ikuyadeu.r",
"tomoki1207.pdf",
"ivan-bocharov.stan-vscode",
"github.vscode-pull-request-github",
"formulahendry.code-runner",
"mutantdino.resourcemonitor",
"searking.preview-vscode"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "Rscript -e 'cmdstanr::set_cmdstan_path(); precommit::use_precommit()'",
// Uncomment to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}