ensure knot version
This commit is contained in:
parent
4d782b24a0
commit
4e5a259482
2 changed files with 4 additions and 1 deletions
|
@ -19,3 +19,5 @@ pipeline:
|
||||||
matrix:
|
matrix:
|
||||||
ALPINE_VERSION:
|
ALPINE_VERSION:
|
||||||
- 3.15.4
|
- 3.15.4
|
||||||
|
KNOT_VERSION:
|
||||||
|
- 3.1.8
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue