ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} LABEL org.opencontainers.image.authors="f@sutty.nl" RUN apk add --no-cache opendkim mini-sendmail COPY ./monit.conf /etc/monit.d/opendkim.conf COPY ./opendkimd.sh /usr/local/bin/opendkimd COPY ./sendmail.sh /usr/bin/sendmail EXPOSE 8891 VOLUME /etc/opendkim