mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Devcontainer: allow pip install and dont warn about root user (#5608)
This commit is contained in:
		| @@ -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", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user