tribut / homeassistant-docker-venv

Run Home Assistant as non-root using the official docker image
123 stars 16 forks source link

Install packages only once #25

Closed definitio closed 3 years ago

definitio commented 3 years ago

This PR fixes Home Assistant starting without Internet connection when $PACKAGES is defined for second and next runs. We don't need to update package(s) without container updating anyway. It should be a more generic way to solve https://github.com/tribut/homeassistant-docker-venv/pull/8.

tribut commented 3 years ago

Thanks! I wanted to do something like this for some time and had a version lying around where I would build a list of non-yet-installed packages and then install them at once, but your version is much simpler.