mirror of
https://github.com/home-assistant/core
synced 2024-10-14 21:47:16 +00:00
Docker + Z-Wave <3
This commit is contained in:
parent
28d80e6e2d
commit
029094e549
10
Dockerfile
10
Dockerfile
|
@ -6,19 +6,15 @@ VOLUME /config
|
|||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN pip3 install --no-cache-dir colorlog
|
||||
RUN pip3 install --no-cache-dir colorlog cython
|
||||
|
||||
# For the nmap tracker
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends nmap net-tools && \
|
||||
apt-get install -y --no-install-recommends nmap net-tools cython3 libudev-dev && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
COPY script/build_python_openzwave script/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
|
||||
RUN script/build_python_openzwave
|
||||
|
||||
COPY requirements_all.txt requirements_all.txt
|
||||
RUN pip3 install --no-cache-dir -r requirements_all.txt
|
||||
|
|
|
@ -21,4 +21,4 @@ fi
|
|||
|
||||
git checkout python3
|
||||
PYTHON_EXEC=`which python3` make build
|
||||
sudo PYTHON_EXEC=`which python3` make install
|
||||
PYTHON_EXEC=`which python3` make install
|
||||
|
|
Loading…
Reference in a new issue