ARG ALPINE_VERSION=3.13.6 ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " ARG KNOT_VERSION=3.1.8 RUN apk add --no-cache knot~${KNOT_VERSION} 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