Mercurial > code > home > repos > homeauto
view service/tradfri/Dockerfile @ 1426:c3c2418d138c
fix pushconfig host lookup
Ignore-this: d53a114fdfb3bd3bf355a0c7293a1c7b
darcs-hash:6306237a7df35fffb57f27c31a971107608f979e
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 07 Aug 2019 21:06:46 -0700 |
parents | 298948c177ed |
children | cd77bcbfd522 |
line wrap: on
line source
FROM bang6:5000/base_x86 WORKDIR /opt RUN apt-get install -y autoconf automake libtool # this is https://github.com/ggravlingen/pytradfri/blob/master/script/install-coap-client.sh RUN \ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git \ && cd libcoap \ && ./autogen.sh \ && ./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr" \ && make \ && make install COPY requirements.txt ./ RUN pip3 install -r requirements.txt COPY static static COPY *.py req* ./ EXPOSE 10009 CMD [ "python3", "./tradfri.py" ]