2023-08-24 14:50:53 +00:00
|
|
|
ARG ALPINE_VERSION=3.18.3
|
|
|
|
ARG BASE_IMAGE=gitea.nulo.in/sutty/monit
|
2021-10-03 23:19:00 +00:00
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
2024-06-21 15:21:51 +00:00
|
|
|
LABEL org.opencontainers.image.authors="f@sutty.nl"
|
2022-05-02 18:41:52 +00:00
|
|
|
ARG KNOT_VERSION=3.1.8
|
2023-11-23 20:48:25 +00:00
|
|
|
ENV SUTTYNS_FLAGS=""
|
2020-09-12 22:42:22 +00:00
|
|
|
|
2023-11-23 21:27:22 +00:00
|
|
|
RUN apk add --no-cache knot~${KNOT_VERSION} daemonize suttyns
|
2020-09-12 22:42:22 +00:00
|
|
|
COPY ./monit.conf /etc/monit.d/knot.conf
|
2023-11-23 20:46:50 +00:00
|
|
|
COPY ./suttynsd.sh /usr/local/bin/suttynsd
|
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
|