Skip to content

Instantly share code, notes, and snippets.

@stulentsev
Created September 26, 2018 15:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save stulentsev/c74882c5dbfc2d6537c201ab22a37727 to your computer and use it in GitHub Desktop.
Save stulentsev/c74882c5dbfc2d6537c201ab22a37727 to your computer and use it in GitHub Desktop.
RUN echo "https://mirror.yandex.ru/mirrors/alpine/v3.7/main" > /etc/apk/repositories \
&& echo "https://mirror.yandex.ru/mirrors/alpine/v3.7/community" >> /etc/apk/repositories \
&& echo "https://mirror.yandex.ru/mirrors/alpine/v3.5/main" >> /etc/apk/repositories \
@Cenness
Copy link

Cenness commented Nov 1, 2023

RUN echo "https://mirror.yandex.ru/mirrors/alpine/v3.$(grep '^VERSION' /etc/os-release | cut -d'.' -f 2)/main" > /etc/apk/repositories \
 && echo "https://mirror.yandex.ru/mirrors/alpine/v3.$(grep '^VERSION' /etc/os-release | cut -d'.' -f 2)/community" >> /etc/apk/repositories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment