Dockerfile 743 B

1234567891011121314151617181920212223242526272829303132333435
  1. FROM alpine:3.6
  2. LABEL maintainer "André Peters <andre.peters@servercow.de>"
  3. # Installation
  4. RUN apk add --update \
  5. && apk add --no-cache nagios-plugins-smtp \
  6. nagios-plugins-tcp \
  7. nagios-plugins-http \
  8. nagios-plugins-ping \
  9. curl \
  10. bash \
  11. jq \
  12. fcgi \
  13. nagios-plugins-mysql \
  14. nagios-plugins-dns \
  15. nagios-plugins-disk \
  16. bind-tools \
  17. redis \
  18. perl \
  19. perl-io-socket-ssl \
  20. perl-io-socket-inet6 \
  21. perl-socket \
  22. perl-socket6 \
  23. perl-mime-lite \
  24. perl-term-readkey \
  25. tini \
  26. tzdata \
  27. && curl https://raw.githubusercontent.com/mludvig/smtp-cli/v3.9/smtp-cli -o /smtp-cli \
  28. && chmod +x smtp-cli
  29. COPY watchdog.sh /watchdog.sh
  30. ENTRYPOINT ["/sbin/tini", "-g", "--"]
  31. # Less verbose
  32. CMD /watchdog.sh 2> /dev/null