ensure knot version

This commit is contained in:
f 2022-05-02 15:41:52 -03:00
parent 4d782b24a0
commit 4e5a259482
2 changed files with 4 additions and 1 deletions

View file

@ -19,3 +19,5 @@ pipeline:
matrix: matrix:
ALPINE_VERSION: ALPINE_VERSION:
- 3.15.4 - 3.15.4
KNOT_VERSION:
- 3.1.8

View file

@ -2,8 +2,9 @@ ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION} FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>" MAINTAINER "f <f@sutty.nl>"
ARG KNOT_VERSION=3.1.8
RUN apk add --no-cache knot knot-prometheus-exporter daemonize RUN apk add --no-cache knot~${KNOT_VERSION} knot-prometheus-exporter daemonize
COPY ./monit.conf /etc/monit.d/knot.conf COPY ./monit.conf /etc/monit.d/knot.conf
COPY ./prometheusd.sh /usr/local/bin/prometheusd COPY ./prometheusd.sh /usr/local/bin/prometheusd