-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
devcontainer.json
96 lines (90 loc) · 3.14 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "Python scipy",
"build": {
"dockerfile": "../Python.Dockerfile",
"context": "..",
"args": {
"BUILD_ON_IMAGE": "glcr.b-data.ch/python/scipy",
"PYTHON_VERSION": "3.13.1",
// "UNMINIMIZE": "unset-to-keep-minimized",
"JUPYTERLAB_VERSION": "4.2.6",
// "INSTALL_DEVTOOLS": "unset-to-not-install",
"NODE_VERSION": "20.18.1",
"USE_ZSH_FOR_ROOT": "unset-to-use-bash",
"LANG": "en_US.UTF-8",
"TZ": "Etc/UTC"
}
},
"onCreateCommand": "onCreateCommand.sh",
"postStartCommand": "${HOME}/.local/bin/dockerSystemPrune.sh",
"postAttachCommand": "${HOME}/.local/bin/checkForUpdates.sh",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true,
"upgradePackages": false,
"username": "vscode",
"userUid": "automatic",
"userGid": "automatic"
},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
},
// A comma separated list of packages to install
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": ""
}
},
"customizations": {
"vscode": {
"extensions": [
"alefragnani.project-manager",
"christian-kohler.path-intellisense",
"DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig",
"GitHub.vscode-pull-request-github",
"GitLab.gitlab-workflow",
"grapecity.gc-excelviewer",
"mhutchie.git-graph",
"ms-python.python",
"ms-toolsai.jupyter",
"mutantdino.resourcemonitor",
"piotrpalarz.vscode-gitignore-generator",
"redhat.vscode-yaml",
"James-Yu.latex-workshop",
"quarto.quarto",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"ms-python.black-formatter",
"timonwong.shellcheck",
"exiasr.hadolint",
"ms-azuretools.vscode-docker"
],
"settings": {
"gitlab.aiAssistedCodeSuggestions.enabled": false,
"gitlab.duoChat.enabled": false,
"gitlens.showWelcomeOnInstall": false,
"gitlens.showWhatsNewAfterUpgrades": false,
"resmon.show.battery": false,
"resmon.show.cpufreq": false
}
}
},
// Set 'remoteUser' to 'root' to connect as root instead.
"remoteUser": "vscode",
"workspaceMount": "source=dsdc-python-scipy-home-vscode,target=/home/vscode,type=volume",
// "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-python-scipy-home-vscode,target=/home/vscode,type=bind",
"workspaceFolder": "/home/vscode",
// "remoteUser": "root",
// "workspaceMount": "source=dsdc-python-scipy-root,target=/root,type=volume",
// // "workspaceMount": "source=${localWorkspaceFolder}/.devcontainer/bind-mounts/dsdc-python-scipy-root,target=/root,type=bind",
// "workspaceFolder": "/root",
// By default, BLAS/OpenMP will use as many threads as possible.
// Set the following environment variable to control the exact number to use.
"remoteEnv": {
// "OMP_NUM_THREADS": "1",
//
// Pip: Install packages to the user site
"PIP_USER": "1"
}
}