changes based on feedback
This commit is contained in:
parent
4e5194b660
commit
e936d2a0cc
|
@ -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 \
|
||||
|
|
1
Makefile
1
Makefile
|
@ -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" \
|
||||
|
|
|
@ -6,3 +6,4 @@ homebridge:
|
|||
volumes:
|
||||
- ./config.json:/root/.homebridge/config.json
|
||||
- ./plugins.txt:/root/.homebridge/plugins.txt
|
||||
- ./persist:/root/.homebridge/persist
|
||||
|
|
Loading…
Reference in New Issue