From 3c2b4e8dd538dd7ffa4eba7e3b243f35de2340a0 Mon Sep 17 00:00:00 2001 From: Jeena Date: Fri, 27 Oct 2017 19:42:02 +0200 Subject: [PATCH] Install Telldus lib on homeassistant base Dockerfile The homeassistant doesn't have access to the TellStick as for now, the first step is to install the telldus library on the system. --- homeassistant/base/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/homeassistant/base/Dockerfile b/homeassistant/base/Dockerfile index 396609d..0c55912 100644 --- a/homeassistant/base/Dockerfile +++ b/homeassistant/base/Dockerfile @@ -114,6 +114,19 @@ RUN apk add --no-cache \ && apk del .build-dependencies #### + +### Install Telldus library for TellStick +# Couldn't find libftdi-compat in Alpine packages may be needed +RUN apk add --no-cache --virtual .build-dependencies \ + gcc g++ confuse cmake doxygen make git \ + && git clone --depth 1 http://git.telldus.com/telldus.git \ + && cd telldus/telldus-core \ + && cmake -H. -Bbuild -DFORCE_COMPILE_FROM_TRUNK=YES \ + && cd build \ + && make \ + && make install \ + && apk del .build-dependencies \ + ## Temporary Fix for Mi Flora. Remove on release of Alpine 3.7 RUN apk add --no-cache \ readline \