changes based on feedback

This commit is contained in:
Amit Gandhi 2017-08-28 20:50:29 -04:00
parent 4e5194b660
commit e936d2a0cc
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,4 @@
FROM hypriot/rpi-node:7
# FROM hypriot/rpi-node:6.9.1
FROM hypriot/rpi-node:latest
MAINTAINER ViViDboarder <vividboarder@gmail.com>
ENV LANG en_US.UTF-8
@ -14,8 +13,10 @@ RUN apt-get install -y --no-install-recommends \
libnss-mdns && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update && apt-get install libpcap-dev iputils-ping
RUN apt-get update && apt-get install iputils-ping
RUN npm config set unsafe-perm true
RUN npm install -g --unsafe-perm \
homebridge \

View File

@ -28,7 +28,6 @@ shell: build
# Target to buld and run in detached mode (continuously)
go: build
make clean
docker run --net=host -d \
-p "51826:51826" \
-v "$(shell pwd)/config.json:/root/.homebridge/config.json" \

View File

@ -6,3 +6,4 @@ homebridge:
volumes:
- ./config.json:/root/.homebridge/config.json
- ./plugins.txt:/root/.homebridge/plugins.txt
- ./persist:/root/.homebridge/persist