chore: rename devcontainer, use none root user and install claude code mcp server

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-08 15:26:12 +02:00
1 parent a5b43af89c
commit 2166e83275
3 files changed
+28 -8

No files matched your search

+6 -4
View File
@@ -1,6 +1,8 @@
{
"name": "ESPHome NUT UPS Development",
"image": "ghcr.io/esphome/esphome:latest",
"name": "ESPHome Component Development",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
@@ -21,7 +23,7 @@
"--device=/dev/bus/usb:/dev/bus/usb:rwm"
],
"workspaceFolder": "/workspace",
"postCreateCommand": "bash .devcontainer/setup.sh",
"postCreateCommand": "sudo bash .devcontainer/setup.sh",
"customizations": {
"vscode": {
"extensions": [
@@ -72,7 +74,7 @@
"PLATFORMIO_CORE_DIR": "/workspace/.platformio"
},
"init": true,
"remoteUser": "root",
"remoteUser": "esphome",
"capAdd": [
"SYS_RAWIO",
"SYS_ADMIN"