mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
Devcontainer: allow pip install and dont warn about root user (#5608)
This commit is contained in:
parent
bcfbcd9578
commit
a9f4922824
1 changed files with 6 additions and 10 deletions
|
@ -1,17 +1,13 @@
|
|||
{
|
||||
"name": "ESPHome Dev",
|
||||
"image": "ghcr.io/esphome/esphome-lint:dev",
|
||||
"postCreateCommand": [
|
||||
"script/devcontainer-post-create"
|
||||
],
|
||||
"postCreateCommand": ["script/devcontainer-post-create"],
|
||||
"containerEnv": {
|
||||
"DEVCONTAINER": "1"
|
||||
"DEVCONTAINER": "1",
|
||||
"PIP_BREAK_SYSTEM_PACKAGES": "1",
|
||||
"PIP_ROOT_USER_ACTION": "ignore"
|
||||
},
|
||||
"runArgs": [
|
||||
"--privileged",
|
||||
"-e",
|
||||
"ESPHOME_DASHBOARD_USE_PING=1"
|
||||
],
|
||||
"runArgs": ["--privileged", "-e", "ESPHOME_DASHBOARD_USE_PING=1"],
|
||||
"appPort": 6052,
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
@ -24,7 +20,7 @@
|
|||
// cpp
|
||||
"ms-vscode.cpptools",
|
||||
// editorconfig
|
||||
"editorconfig.editorconfig",
|
||||
"editorconfig.editorconfig"
|
||||
],
|
||||
"settings": {
|
||||
"python.languageServer": "Pylance",
|
||||
|
|
Loading…
Reference in a new issue