containers-repository/Dockerfile

13 lines
471 B
Text
Raw Normal View History

2021-10-03 23:19:00 +00:00
ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
2019-09-10 23:10:18 +00:00
MAINTAINER "f <f@sutty.nl>"
2020-07-27 19:41:02 +00:00
COPY ./build.sh /usr/local/bin/build
RUN chmod 755 /usr/local/bin/build
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
USER builder
ENTRYPOINT /usr/local/bin/build