From 7789732d6f291e0812bc5ffac574eab1fe941cd0 Mon Sep 17 00:00:00 2001 From: f Date: Sun, 3 Jul 2022 22:06:18 -0300 Subject: [PATCH] mmmonit: upgrade to 0.2.1 --- .woodpecker.yml | 1 + Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0413684..503500e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,6 +11,7 @@ pipeline: build_args: - ALPINE_VERSION=${ALPINE_VERSION} - BASE_IMAGE=registry.nulo.in/sutty/monit + - MMMONIT_VERSION=0.2.1 secrets: - docker_password when: diff --git a/Dockerfile b/Dockerfile index b8d1199..d6a403c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ ARG ALPINE_VERSION=3.15.0 ARG BASE_IMAGE=sutty/monit +ARG MMMONIT_VERSION=0.2.1 FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " ENV DATABASE_URL "/srv/mmmonit.sqlite3" -RUN apk add --no-cache mmmonit daemonize +RUN apk add --no-cache mmmonit~${MMMONIT_VERSION} daemonize COPY ./monit.conf /etc/monit.d/mmmonit.conf COPY ./mmmonitd.sh /usr/local/bin/mmmonitd