add versioned repository
This commit is contained in:
parent
5c1bcb8bae
commit
30731652e3
1 changed files with 2 additions and 1 deletions
|
@ -10,10 +10,11 @@ RUN chmod 600 /etc/monitrc
|
|||
RUN sed -re "s/@@EMAIL@@/${EMAIL}/" -i /etc/monitrc
|
||||
|
||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||
ARG ALPINE_VERSION
|
||||
MAINTAINER "f <f@sutty.nl>"
|
||||
|
||||
# Sutty's repository
|
||||
RUN echo https://alpine.sutty.nl/alpine/v${ALPINE_VERSION%\.*}/sutty >> /etc/apk/repositories
|
||||
RUN echo ${ALPINE_VERSION} | cut -d . -f 1,2 | xargs -I {} echo https://alpine.sutty.nl/alpine/v{}/sutty | tee -a /etc/apk/repositories
|
||||
RUN wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub
|
||||
|
||||
# Install monit and remove default config
|
||||
|
|
Loading…
Reference in a new issue