Dockerfile 367 B

1234567891011121314151617
  1. FROM resin/rpi-raspbian:jessie-20161026
  2. RUN apt-get update
  3. RUN apt-get install -y git
  4. RUN git clone https://github.com/firehol/netdata.git /netdata.git --depth=1
  5. RUN cd /netdata.git && chmod +x ./docker-build.sh && sync && sleep 1 && ./docker-build.sh
  6. WORKDIR /
  7. ENV NETDATA_PORT 19999
  8. EXPOSE $NETDATA_PORT
  9. CMD /usr/sbin/netdata -D -s /host -p ${NETDATA_PORT}