netdata-docker/Dockerfile

19 lines
347 B
Docker
Raw Normal View History

2020-02-05 09:35:11 +00:00
FROM debian:jessie
ADD git-tag /git-tag
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"]