From e8031876e74c866ef1e90ac676fe00a307bef5f3 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 23 Dec 2022 11:30:52 -0300 Subject: [PATCH] fix: cache after the update --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 41d5998..87a22ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,9 @@ COPY ./build.sh /usr/local/bin/build RUN chmod 755 /usr/local/bin/build 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 sed -re "s|https://dl-cdn.alpinelinux.org|http://alpine.proxy|g" -i /etc/apk/repositories # We need to update to the builder has access to installing packages RUN apk update +RUN sed -re "s|https://dl-cdn.alpinelinux.org|http://alpine.proxy|g" -i /etc/apk/repositories USER builder ENTRYPOINT ["/usr/local/bin/build"]