Install face_recognition on Docker build (#17502)

* Install face_recognition on Docker

* Update setup_docker_prereqs
This commit is contained in:
Ben Schattinger authored and Michaël Arnauts committed 2018-10-25 22:56:10 +02:00
1 parent 43048962f2
commit 901c4f18cb
3 files changed
+7

No files matched your search

@@ -8,6 +8,7 @@ INSTALL_TELLSTICK="${INSTALL_TELLSTICK:-yes}"
INSTALL_OPENALPR="${INSTALL_OPENALPR:-yes}"
INSTALL_LIBCEC="${INSTALL_LIBCEC:-yes}"
INSTALL_SSOCR="${INSTALL_SSOCR:-yes}"
INSTALL_DLIB="${INSTALL_DLIB:-yes}"
# Required debian packages for running hass or components
PACKAGES=(
@@ -62,6 +63,10 @@ if [ "$INSTALL_SSOCR" == "yes" ]; then
virtualization/Docker/scripts/ssocr
fi
if [ "$INSTALL_DLIB" == "yes" ]; then
pip3 install --no-cache-dir "dlib>=19.5"
fi
# Remove packages
apt-get remove -y --purge ${PACKAGES_DEV[@]}
apt-get -y --purge autoremove