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