41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/go:1": {
|
|
"version": "1.20.6"
|
|
},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"version": "3.11.0"
|
|
}
|
|
},
|
|
"appPort": [
|
|
"8123:8123"
|
|
],
|
|
"postCreateCommand": ".devcontainer/postCreate",
|
|
"remoteEnv": {
|
|
"HA_PATH": "/workspaces/go-hass-agent/home-assistant",
|
|
"DISPLAY": "${localEnv:DISPLAY}"
|
|
},
|
|
"mounts": [
|
|
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
|
|
],
|
|
"shutdownAction": "stopContainer",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"vivaxy.vscode-conventional-commits",
|
|
"brunodavi.conventional-snippets",
|
|
"golang.go",
|
|
"premparihar.gotestexplorer",
|
|
"ymotongpoo.licenser",
|
|
"esbenp.prettier-vscode",
|
|
"aaron-bond.better-comments",
|
|
"valentjn.vscode-ltex"
|
|
]
|
|
}
|
|
},
|
|
"containerUser": "vscode",
|
|
"runArgs": [
|
|
"--userns=keep-id"
|
|
]
|
|
} |