Re-enable Z-Wave for Docker

pull/544/head^2
Paulus Schoutsen 2015-10-24 11:27:47 -07:00
parent 649275044a
commit 83e6c24f18
2 changed files with 7 additions and 8 deletions

View File

@ -10,11 +10,10 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends nmap net-tools && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Open Z-Wave disabled because broken
#RUN apt-get update && \
# apt-get install -y cython3 libudev-dev && \
# apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
# pip3 install cython && \
# scripts/build_python_openzwave
RUN apt-get update && \
apt-get install -y cython3 libudev-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
pip3 install "cython<0.23" && \
script/build_python_openzwave
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]

View File

@ -1,7 +1,7 @@
# Sets up and builds python open zwave to be used with Home Assistant
# Dependencies that need to be installed:
# Dependencies that need to be installed:
# apt-get install cython3 libudev-dev python-sphinx python3-setuptools
# pip3 install cython
# pip3 install "cython<0.23"
cd "$(dirname "$0")/.."