Dockerfile 757 B

123456789101112131415161718192021222324252627282930313233343536
  1. FROM alpine:3.8
  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. coreutils \
  12. jq \
  13. fcgi \
  14. nagios-plugins-mysql \
  15. nagios-plugins-dns \
  16. nagios-plugins-disk \
  17. bind-tools \
  18. redis \
  19. perl \
  20. perl-io-socket-ssl \
  21. perl-io-socket-inet6 \
  22. perl-socket \
  23. perl-socket6 \
  24. perl-mime-lite \
  25. perl-term-readkey \
  26. tini \
  27. tzdata \
  28. && curl https://raw.githubusercontent.com/mludvig/smtp-cli/v3.9/smtp-cli -o /smtp-cli \
  29. && chmod +x smtp-cli
  30. COPY watchdog.sh /watchdog.sh
  31. ENTRYPOINT ["/sbin/tini", "-g", "--"]
  32. # Less verbose
  33. CMD /watchdog.sh 2> /dev/null