devcontainer
devcontainer copied to clipboard
Custom devcontainers for the home-assistant org
devcontainer
This project contains custom devcontainers for use in our repositories.
Images
| Image | Description | Dockerfile |
|---|---|---|
ghcr.io/home-assistant/devcontainer:addons |
For Add-on development | ./addons/Dockerfile |
ghcr.io/home-assistant/devcontainer:supervisor |
For Supervisor development | ./supervisor/Dockerfile |
Example files
Example files to use with Visual Studio Code
addon
Example files for the addons devcontainer
- Example configuration (for
.devcontainer/devcontainer.json) - Example tasks file (for
.vscode/tasks.json)
Notes
addons and supervisor
- Use the command
supervisor_runto start Home Assistant inside the devcontainer, or run the task "Start Home Assistant" if you copied the tasks file. - Use
hato use the custom Home Assistant CLI (Needs the supervisor to be running).