-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
66 lines (66 loc) · 2.26 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "Data Science (Python and R)",
"image": "quay.io/babaolanqiu/datascience:latest",
"initializeCommand": "docker pull quay.io/babaolanqiu/datascience:latest",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {
// "ghcr.io/devcontainers/features/docker-in-docker:2": {}
// },
"shutdownAction": "none",
// "overrideFeatureInstallOrder": [
// "ghcr.io/rocker-org/devcontainer-features/r-apt"
// ],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "/bin/bash ./.devcontainer/postCreateCommand.sh",
// "RunArgs": [
// "--user",
// "root"
// ],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"[python]": {
"defaultInterpreterPath": "/opt/conda/bin/python",
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnType": true,
"editor.formatOnSave": true
},
"[jupyter]": {
"themeMatplotlibPlots": true,
"widgetScriptSources": [
"unpkg.com",
"jsdelivr.com"
]
},
"[r]": {
"rpath.linux": "/usr/bin/R",
"rterm.linux": "/opt/conda/bin/radian",
"r.bracketedPaste": true
},
"quarto.path": "/usr/local/bin/quarto"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-toolsai.jupyter",
"ms-python.python",
"reditorsupport.r",
"GitHub.copilot",
"GitHub.copilot-chat",
"ms-python.black-formatter",
"samueltscott.maximizeterminal",
"ms-azuretools.vscode-docker",
"ms-toolsai.datawrangler",
"WakaTime.vscode-wakatime",
"quarto.quarto",
"mechatroner.rainbow-csv"
]
}
},
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "jovyan"
}