2014-09-25 03:36:52 +00:00
|
|
|
FROM python:3-onbuild
|
|
|
|
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
|
|
|
|
|
|
|
|
VOLUME /config
|
|
|
|
|
2015-08-30 06:02:36 +00:00
|
|
|
RUN pip3 install --no-cache-dir -r requirements_all.txt
|
|
|
|
|
2015-09-01 05:01:45 +00:00
|
|
|
# For the nmap tracker
|
|
|
|
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
|
2015-08-23 06:32:09 +00:00
|
|
|
#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
|
2015-02-22 00:59:17 +00:00
|
|
|
|
2014-11-05 15:58:20 +00:00
|
|
|
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]
|