From 0c07a45bd5baa37b2c543a7199e89c50ddbca899 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 1 Jun 2020 12:54:38 -0300 Subject: [PATCH] Alpine 3.11.6 --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index b7903cd..a3cf3e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,7 @@ -FROM sutty/monit-build:latest AS build - +FROM alpine:3.11.6 AS build RUN apk add --no-cache tzdata -RUN echo /home/builder/packages/home > /etc/apk/repositories -RUN apk add --no-cache monit -FROM alpine:3.11 +FROM alpine:3.11.6 MAINTAINER "f " # TODO: We don't want to receive lots of email, so we'll change this to @@ -12,8 +9,7 @@ MAINTAINER "f " ENV EMAIL monit@sutty.nl # Install monit and remove default config -RUN apk add --no-cache tini -COPY --from=build /usr/bin/monit /usr/bin/monit +RUN apk add --no-cache tini monit COPY --from=build /usr/share/zoneinfo/UTC /etc/localtime # Create directories @@ -28,6 +24,9 @@ RUN chmod 600 /etc/monitrc # Allow access to the web GUI EXPOSE 2812 +# Sutty's repository +RUN echo 'https://alpine.sutty.nl/alpine/v3.11/sutty' >> /etc/apk/repositories + # Use tini as init ENTRYPOINT ["/sbin/tini", "--"]