diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2017-12-19 23:39:21 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2017-12-19 23:39:21 +0000 |
commit | 61aedf201c2c4bf0e5aa4db32e74f4d860b88593 (patch) | |
tree | bcf4f9a0cd8bc2daf38b2ff9f29bfcc1e5ed8968 /Dockerfile | |
parent | New upstream version 1.8.0+dfsg (diff) | |
download | netdata-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-- | Dockerfile | 3 | ||||
-rw-r--r-- | Dockerfile.armv7hf | 19 |
2 files changed, 22 insertions, 0 deletions
@@ -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"] |