11 lines
517 B
Docker
11 lines
517 B
Docker
ARG ALPINE_VERSION=3.18.3
|
|
ARG BASE_IMAGE=gitea.nulo.in/sutty/monit
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
|
LABEL org.opencontainers.image.authors="f@sutty.nl"
|
|
|
|
COPY ./build.sh /usr/local/bin/build
|
|
COPY ./entrypoint.sh /usr/local/bin/entrypoint
|
|
RUN echo "${ALPINE_VERSION}" | cut -d . -f 1,2 | xargs -I {} echo 'https://alpine.sutty.nl/alpine/v{}/sutty' >> /etc/apk/repositories
|
|
RUN wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|