forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
36 lines (33 loc) · 1.22 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
{
"name": "tldr-pages",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", // Use Microsoft's Ubuntu Base image for the dev container
"features": { // Use Node, Python and GitHub CLI features in the dev container
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"privileged": false, // Run the container unprivileged
"onCreateCommand": {
"install-python-packages": "pip install -r requirements.txt", // Install Python dependencies in the dev container
"install-node-packages": "npm install" // Install NPM dependencies in the dev container
},
"customizations": {
"vscode": {
"settings": {
// Define suggested settings for the dev container
"resmon.show.battery": false,
"resmon.show.cpufreq": false
},
"extensions": [
// Define suggested extensions to preinstall in the dev container
"EditorConfig.EditorConfig",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.flake8",
"GitHub.vscode-pull-request-github",
"github.vscode-github-actions",
"DavidAnson.vscode-markdownlint"
]
}
}
}