ARG ALPINE_VERSION=3.13.6 ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " RUN apk add --no-cache knot knot-prometheus-exporter daemonize COPY ./monit.conf /etc/monit.d/knot.conf COPY ./prometheusd.sh /usr/local/bin/prometheusd EXPOSE 53 EXPOSE 53/udp EXPOSE 5000 VOLUME /var/lib/knot