diff --git a/Dockerfile b/Dockerfile index 2d1947b..19e1bf6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,21 @@ -FROM alpine:3.13.1 AS build +FROM alpine:3.13.2 AS build ENV EMAIL monit@sutty.nl RUN apk add --no-cache tzdata -FROM alpine:3.13.1 -MAINTAINER "f " COPY ./monitrc /etc/monitrc RUN chmod 600 /etc/monitrc RUN sed -re "s/@@EMAIL@@/${EMAIL}/" -i /etc/monitrc +FROM alpine:3.13.2 +MAINTAINER "f " + # TODO: We don't want to receive lots of email, so we'll change this to # a pingy instance that will also work as a status site. ENV EMAIL monit@sutty.nl # Install monit and remove default config +RUN apk upgrade --no-cache RUN apk add --no-cache tini monit COPY --from=build /usr/share/zoneinfo/UTC /etc/localtime