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.
This commit is contained in:
parent
3c1c3274b0
commit
3c2b4e8dd5
1 changed files with 13 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue