I don’t see any doco on using the included Dockerfiles - I messed about trying to build some stuff yesterday for a few hours but didn’t figure it all out. Conventionally, open source projects include a block on the “contributing” page saying something like:
To build this project for local development run:
docker build -f Dockerfile.dev -t yourname/home-assistant:dev .
To build for release (typically run by a pipeline off master):
docker build -f Dockerfile --build-arg BUILD_FROM=somebaseimage -t homeassistant/home-assistant:dev.
Which would make it rather easy for me to simply copy/paste and have a working image.
I think rather than building locally I maybe ought to pull the built image from dockerhub and mount my code into it - but obviously one can have dependency problems with that approach.
All very reasonable at this point. It gets hacky because you need to override the component’s version number in its manifest file - or HA decides to reinstall the previous version at startup. I haven’t found a simpler way to disable this behaviour: