-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevcontainer.json
More file actions
38 lines (38 loc) · 967 Bytes
/
devcontainer.json
File metadata and controls
38 lines (38 loc) · 967 Bytes
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
// https://aka.ms/devcontainer.json
// https://containers.dev/features
// https://containers.dev/guide/dockerfile
// https://aka.ms/dev-containers-non-root
{
"name": "ESPHome-NonRoot Dev Container",
"build": {
"dockerfile": "../Docker/Dockerfile",
"context": "../Docker"
},
"containerEnv": {
"ESPHOME_VERBOSE": "true",
"ESPHOME_DASHBOARD_USE_PING": "1",
"TZ": "America/Los_Angeles"
},
// Do not run default entrypoint
"overrideCommand": true,
// Create cache sub-directories
"postStartCommand": [
"/entrypoint/cache.sh"
],
"customizations": {
"vscode": {
"extensions": [
"davidanson.vscode-markdownlint",
"gruntfuggly.todo-tree",
"ms-azuretools.vscode-docker",
"ms-python.black-formatter",
"ms-python.flake8",
"ms-python.pylint",
"ms-python.python",
"ms-vscode.cpptools-extension-pack",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker"
]
}
}
}