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" ARG KNOT_VERSION=3.1.8 ENV SUTTYNS_FLAGS="" RUN apk add --no-cache knot~${KNOT_VERSION} daemonize suttyns COPY ./monit.conf /etc/monit.d/knot.conf COPY ./suttynsd.sh /usr/local/bin/suttynsd EXPOSE 53 EXPOSE 53/udp EXPOSE 5000 VOLUME /var/lib/knot