FROM alpine:3.10 LABEL maintainer "André Peters " # Installation RUN apk add --update \ && apk add --no-cache nagios-plugins-smtp \ nagios-plugins-tcp \ nagios-plugins-http \ nagios-plugins-ping \ mariadb-client \ curl \ bash \ coreutils \ jq \ fcgi \ openssl \ nagios-plugins-mysql \ nagios-plugins-dns \ nagios-plugins-disk \ bind-tools \ redis \ perl \ perl-io-socket-ssl \ perl-io-socket-inet6 \ perl-socket \ perl-socket6 \ perl-mime-lite \ perl-term-readkey \ tini \ tzdata \ whois \ && curl https://raw.githubusercontent.com/mludvig/smtp-cli/v3.9/smtp-cli -o /smtp-cli \ && chmod +x smtp-cli COPY watchdog.sh /watchdog.sh CMD /watchdog.sh 2> /dev/null