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