feat: use a proxied cache for packages
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
70c22fd6fe
commit
fe93e45ceb
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ COPY ./build.sh /usr/local/bin/build
|
||||||
RUN chmod 755 /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 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 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
|
# We need to update to the builder has access to installing packages
|
||||||
RUN apk update
|
RUN apk update
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue