# author : titpetric # original: https://github.com/titpetric/netdata 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"]