netdata-docker/Dockerfile

17 lines
325 B
Docker
Raw Normal View History

2020-02-05 09:35:11 +00:00
FROM debian:jessie
ADD scripts/build.sh /build.sh
ADD scripts/run.sh /run.sh
RUN chmod +x /run.sh /build.sh && sync && sleep 1 && /build.sh
WORKDIR /
ENV NETDATA_PORT=19999 SSMTP_TLS=YES SSMTP_SERVER=smtp.gmail.com SSMTP_PORT=587 SSMTP_HOSTNAME=localhost
ENV DO_NOT_TRACK=1
EXPOSE $NETDATA_PORT
ENTRYPOINT ["/run.sh"]