2023-08-24 14:50:53 +00:00
|
|
|
ARG ALPINE_VERSION=3.18.3
|
|
|
|
ARG BASE_IMAGE=gitea.nulo.in/sutty/monit
|
2021-10-03 23:19:00 +00:00
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
2024-06-21 15:21:51 +00:00
|
|
|
LABEL org.opencontainers.image.authors="f@sutty.nl"
|
2020-07-27 19:41:02 +00:00
|
|
|
|
|
|
|
COPY ./build.sh /usr/local/bin/build
|
2022-12-23 15:42:37 +00:00
|
|
|
COPY ./entrypoint.sh /usr/local/bin/entrypoint
|
2021-11-16 13:18:54 +00:00
|
|
|
RUN echo "${ALPINE_VERSION}" | cut -d . -f 1,2 | xargs -I {} echo 'https://alpine.sutty.nl/alpine/v{}/sutty' >> /etc/apk/repositories
|
2020-07-27 19:41:02 +00:00
|
|
|
RUN wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub
|
|
|
|
|
2022-12-23 15:42:37 +00:00
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|