17 lines
325 B
Docker
17 lines
325 B
Docker
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"]
|