Get python-openzwave working in Docker

This commit is contained in:
Paulus Schoutsen
2015-02-21 16:59:17 -08:00
parent b38146bdef
commit bb5e8e00dd
2 changed files with 25 additions and 1 deletions

View File

@@ -8,14 +8,18 @@ fi
docker build -t home-assistant-dev .
# TODO set device via command line, remove /bin/bash
if [ $# -gt 0 ]
then
docker run \
--net=host \
-e "TZ=$1" \
--device=/dev/bus/usb/002:/usbstick:rwm \
-v `pwd`:/usr/src/app \
-v `pwd`/config:/config \
-t -i home-assistant-dev
-t -i home-assistant-dev \
/bin/bash
else
docker run \