From 91e36f380bb9dfde5c959da1e5a688f56876a92f Mon Sep 17 00:00:00 2001 From: Phil Hawthorne Date: Sun, 18 Sep 2016 16:57:12 +1000 Subject: [PATCH] Add PyBluez to Dockerfile (#3423) * Add PyBluez to Dockerfile Adds PyBluez to Dockerfile so people using Docker can run Bluetooth devices * Remove pip install of pybluez Pybluez will be installed automatically when the Bluetooth device tracker is enabled --- Dockerfile | 2 +- virtualization/Docker/Dockerfile.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e54276b99b1..546c71966f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN pip3 install --no-cache-dir colorlog cython # For the nmap tracker, bluetooth tracker, Z-Wave RUN apt-get update && \ - apt-get install -y --no-install-recommends nmap net-tools cython3 libudev-dev sudo libglib2.0-dev && \ + apt-get install -y --no-install-recommends nmap net-tools cython3 libudev-dev sudo libglib2.0-dev bluetooth libbluetooth-dev && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY script/build_python_openzwave script/build_python_openzwave diff --git a/virtualization/Docker/Dockerfile.test b/virtualization/Docker/Dockerfile.test index 6b9730bd8f4..651f19e4720 100644 --- a/virtualization/Docker/Dockerfile.test +++ b/virtualization/Docker/Dockerfile.test @@ -10,7 +10,7 @@ RUN pip3 install --no-cache-dir colorlog cython # For the nmap tracker, bluetooth tracker, Z-Wave RUN apt-get update && \ - apt-get install -y --no-install-recommends nmap net-tools cython3 libudev-dev sudo libglib2.0-dev locales-all && \ + apt-get install -y --no-install-recommends nmap net-tools cython3 libudev-dev sudo libglib2.0-dev locales-all bluetooth libbluetooth-dev && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN pip3 install --no-cache-dir tox