Closed 2sheds closed 6 years ago
I tested running in virtualenv - a few little modifications required, no issues found - but I think this is ultimately an overcomplication. I adopted a multistage build that allows adding extra dependencies for HomeKit, Trådfri etc. at build time with very little effort so there's no sense to install them in runtime as container's user. But I'll send a PR with my venv
mod for your consideration just in case.
Since
pip
runs as root during build, running the resulting container as regular user makes installing new integrations not possible because it tries to use /usr/lib/python3.6 which is not writable. Should running in avirtualenv
be considered?