ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " RUN getent group 82 || addgroup -g 82 -S www-data RUN adduser -s /bin/sh -G www-data -h /srv/matterbridge -D matterbridge RUN apk add --no-cache matterbridge daemonize COPY ./monit.conf /etc/monit.d/matterbridge.conf COPY ./matterbridged.sh /usr/local/bin/matterbridged VOLUME /srv/matterbridge