mmmonit: upgrade to 0.2.1
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2022-07-03 22:06:18 -03:00
parent 9e0a1b4d25
commit 7789732d6f
2 changed files with 3 additions and 1 deletions

View file

@ -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:

View file

@ -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 <f@sutty.nl>"
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