mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /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
|
# For the nmap tracker
|
||||||
RUN apt-get update && \
|
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/*
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
COPY script/build_python_openzwave script/build_python_openzwave
|
COPY script/build_python_openzwave script/build_python_openzwave
|
||||||
RUN apt-get update && \
|
RUN script/build_python_openzwave
|
||||||
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
|
|
||||||
|
|
||||||
COPY requirements_all.txt requirements_all.txt
|
COPY requirements_all.txt requirements_all.txt
|
||||||
RUN pip3 install --no-cache-dir -r requirements_all.txt
|
RUN pip3 install --no-cache-dir -r requirements_all.txt
|
||||||
|
@ -21,4 +21,4 @@ fi
|
|||||||
|
|
||||||
git checkout python3
|
git checkout python3
|
||||||
PYTHON_EXEC=`which python3` make build
|
PYTHON_EXEC=`which python3` make build
|
||||||
sudo PYTHON_EXEC=`which python3` make install
|
PYTHON_EXEC=`which python3` make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user