From 4e5a2594826b3afa054c36e1914438ca51c0840a Mon Sep 17 00:00:00 2001 From: f Date: Mon, 2 May 2022 15:41:52 -0300 Subject: [PATCH] ensure knot version --- .woodpecker.yml | 2 ++ Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4ec9c17..3a50d59 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -19,3 +19,5 @@ pipeline: matrix: ALPINE_VERSION: - 3.15.4 + KNOT_VERSION: + - 3.1.8 diff --git a/Dockerfile b/Dockerfile index 0c100fc..fa7e910 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ ARG ALPINE_VERSION=3.13.6 ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " +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 ./prometheusd.sh /usr/local/bin/prometheusd