summaryrefslogtreecommitdiffstats
path: root/Dockerfile.armv7hf
diff options
context:
space:
mode:
authorJustin Dray ✌️ 🙌 <justin@dray.be>2017-11-05 17:01:15 +1000
committerJustin Dray ✌️ 🙌 <justin@dray.be>2017-11-05 17:08:22 +1000
commitdd2117999289a22e041c469507fffe3496e4cf01 (patch)
treeb0fef8de2f1083ebf70f298017df80af1e322e9e /Dockerfile.armv7hf
parent609ece8cffe770efedbeca653ccd94809edab463 (diff)
Add an armv7hf docker build
Diffstat (limited to 'Dockerfile.armv7hf')
-rw-r--r--Dockerfile.armv7hf19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile.armv7hf b/Dockerfile.armv7hf
new file mode 100644
index 0000000000..2591748a90
--- /dev/null
+++ b/Dockerfile.armv7hf
@@ -0,0 +1,19 @@
+# author : titpetric
+# original: https://github.com/titpetric/netdata
+
+FROM resin/armv7hf-debian:jessie
+
+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"]