openssl upgrade

This commit is contained in:
f 2021-03-27 10:47:25 -03:00
parent 8809e18b77
commit 45c8f985c7

View file

@ -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 <f@sutty.nl>"
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 <f@sutty.nl>"
# 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