From b9ef71966eb948b1a075791b8c5c5f25695acff8 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 16 Nov 2021 10:18:54 -0300 Subject: [PATCH] don't update, configure version --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d21eb0a..60e8a81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,8 @@ MAINTAINER "f " COPY ./build.sh /usr/local/bin/build RUN chmod 755 /usr/local/bin/build -RUN echo 'https://alpine.sutty.nl/alpine/v3.12/sutty' >> /etc/apk/repositories +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 -RUN apk update || true USER builder ENTRYPOINT /usr/local/bin/build