netdata-docker/Dockerfile
2020-02-05 01:35:18 -08:00

19 lines
347 B
Docker

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"]