forked from clemenstyp/dasher-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 687 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# rpi1 und x64
FROM hypriot/rpi-node:8
LABEL maintainer="Ronny Elflein <ronny@11lein.de>"
#Install libpcap-dev
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get install -y git libpcap-dev wget sudo && \
apt-get clean && rm -rf /var/lib/apt/lists/*
#install dasher
RUN cd /root && export GIT_SSL_NO_VERIFY=1 && \
git config --global http.sslVerify false && \
git clone https://github.com/maddox/dasher.git
WORKDIR /root/docker-dasher
ADD config.json /root/dasher/config/config.json
ADD init script/init
RUN cp -rf /root/dasher/* .
RUN npm install
# Interface the environment
VOLUME /root/docker-dasher/config
# Baseimage init process
CMD npm run start