summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 05a83a7488cea6c701b91e5cea344ae7333632ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# author  : titpetric
# original: https://github.com/titpetric/netdata

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 /

ENV NETDATA_PORT 19999
EXPOSE $NETDATA_PORT

CMD /usr/sbin/netdata -D -s /host -p ${NETDATA_PORT}