summaryrefslogtreecommitdiffstats
path: root/Dockerfile.armv7hf
blob: 5a8b78b883ca11e97817e70a1ccda8e18710f998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# author  : titpetric
# original: https://github.com/titpetric/netdata
# SPDX-License-Identifier: CC0-1.0

FROM resin/armv7hf-debian:stretch

RUN [ "cross-build-start"]

ADD . /netdata.git

RUN cd ./netdata.git && chmod +x ./docker-build.sh && sync && sleep 1 && ./docker-build.sh

WORKDIR /

ENV NETDATA_PORT 19999
EXPOSE $NETDATA_PORT

CMD /usr/sbin/netdata -D -s /host -p ${NETDATA_PORT}

RUN [ "cross-build-end"]