2017-09-20 16:56:49 +08:00
|
|
|
FROM alpine:3.6
|
|
|
|
|
|
|
|
LABEL maintainer "André Peters <andre.peters@servercow.de>"
|
|
|
|
|
|
|
|
# Installation
|
|
|
|
RUN apk add --update \
|
|
|
|
&& apk add --no-cache nagios-plugins-smtp \
|
|
|
|
nagios-plugins-tcp \
|
|
|
|
nagios-plugins-http \
|
|
|
|
nagios-plugins-ping \
|
|
|
|
curl \
|
|
|
|
bash \
|
|
|
|
jq \
|
|
|
|
fcgi \
|
|
|
|
nagios-plugins-mysql \
|
|
|
|
nagios-plugins-dns \
|
2017-09-21 05:24:56 +08:00
|
|
|
nagios-plugins-disk \
|
2017-10-05 05:18:51 +08:00
|
|
|
bind-tools \
|
|
|
|
redis
|
2017-09-20 16:56:49 +08:00
|
|
|
|
|
|
|
COPY watchdog.sh /watchdog.sh
|
|
|
|
|
|
|
|
# Less verbose
|
|
|
|
CMD /watchdog.sh 2> /dev/null
|