containers-knot/Dockerfile

15 lines
331 B
Text
Raw Normal View History

2021-10-03 23:19:00 +00:00
ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
2019-09-10 23:10:18 +00:00
MAINTAINER "f <f@sutty.nl>"
2020-09-12 22:42:22 +00:00
2020-10-21 19:14:29 +00:00
RUN apk add --no-cache knot knot-prometheus-exporter daemonize
2020-09-12 22:42:22 +00:00
COPY ./monit.conf /etc/monit.d/knot.conf
2020-10-21 19:14:29 +00:00
COPY ./prometheusd.sh /usr/local/bin/prometheusd
2020-09-12 22:42:22 +00:00
EXPOSE 53
EXPOSE 53/udp
2020-10-21 19:14:29 +00:00
EXPOSE 5000
2020-09-12 22:42:22 +00:00
VOLUME /var/lib/knot