summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
commit61aedf201c2c4bf0e5aa4db32e74f4d860b88593 (patch)
treebcf4f9a0cd8bc2daf38b2ff9f29bfcc1e5ed8968 /Dockerfile
parentNew upstream version 1.8.0+dfsg (diff)
downloadnetdata-upstream/1.9.0+dfsg.tar.xz
netdata-upstream/1.9.0+dfsg.zip
New upstream version 1.9.0+dfsgupstream/1.9.0+dfsg
Diffstat (limited to '')
-rw-r--r--Dockerfile3
-rw-r--r--Dockerfile.armv7hf19
2 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 5a123fc8..05a83a74 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,6 +5,9 @@ FROM debian:jessie
ADD . /netdata.git
+RUN echo "deb http://ftp.nl.debian.org/debian/ jessie main" > /etc/apt/sources.list
+RUN echo "deb http://security.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list
+
RUN cd ./netdata.git && chmod +x ./docker-build.sh && sync && sleep 1 && ./docker-build.sh
WORKDIR /
diff --git a/Dockerfile.armv7hf b/Dockerfile.armv7hf
new file mode 100644
index 00000000..2591748a
--- /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"]