mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Add ffmpeg to Docker from jessie-backports (#5322)
This commit is contained in:
parent
bf3e5b460e
commit
e3418f633c
@ -11,6 +11,12 @@ PACKAGES=(
|
|||||||
libtelldus-core2
|
libtelldus-core2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Required debian packages for running hass or components from jessie-backports
|
||||||
|
PACKAGES_BACKPORTS=(
|
||||||
|
# homeassistant.components.ffmpeg
|
||||||
|
ffmpeg
|
||||||
|
)
|
||||||
|
|
||||||
# Required debian packages for building dependencies
|
# Required debian packages for building dependencies
|
||||||
PACKAGES_DEV=(
|
PACKAGES_DEV=(
|
||||||
# python-openzwave
|
# python-openzwave
|
||||||
@ -28,9 +34,13 @@ cd "$(dirname "$0")/.."
|
|||||||
echo "deb http://download.telldus.com/debian/ stable main" >> /etc/apt/sources.list.d/telldus.list
|
echo "deb http://download.telldus.com/debian/ stable main" >> /etc/apt/sources.list.d/telldus.list
|
||||||
wget -qO - http://download.telldus.se/debian/telldus-public.key | apt-key add -
|
wget -qO - http://download.telldus.se/debian/telldus-public.key | apt-key add -
|
||||||
|
|
||||||
|
# Add jessie-backports
|
||||||
|
echo "deb http://httpredir.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends ${PACKAGES[@]} ${PACKAGES_DEV[@]}
|
apt-get install -y --no-install-recommends ${PACKAGES[@]} ${PACKAGES_DEV[@]}
|
||||||
|
apt-get install -y --no-install-recommends -t jessie-backports ${PACKAGES_BACKPORTS[@]}
|
||||||
|
|
||||||
# Build and install openzwave
|
# Build and install openzwave
|
||||||
script/build_python_openzwave
|
script/build_python_openzwave
|
||||||
|
Loading…
x
Reference in New Issue
Block a user