Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Alpine CDN is down (FYI) #527

Closed
rolweber opened this issue Sep 24, 2019 · 3 comments
Closed

When Alpine CDN is down (FYI) #527

rolweber opened this issue Sep 24, 2019 · 3 comments

Comments

@rolweber
Copy link

rolweber commented Sep 24, 2019

At the moment, dl-cdn.alpinelinux.org and other mirrors in the .alpinelinux.org domain are down, or at least unreachable from my location. This breaks my docker build, which installs additional packages with apk.

One way to overcome this problem is to pick a working mirror from the list and add it to the list of repositories inside the Docker image. Luckily, the list of mirrors is still online although it is in the same domain as the broken mirrors.

Original content of /etc/apk/repositories in my case:

http://dl-cdn.alpinelinux.org/alpine/v3.10/main
http://dl-cdn.alpinelinux.org/alpine/v3.10/community

I've picked https://ftp.halifax.rwth-aachen.de/ as the mirror and changed my Dockerfile accordingly:

RUN echo >>/etc/apk/repositories \
    "https://ftp.halifax.rwth-aachen.de/alpine/v3.10/main" \
 && apk add ...
@rolweber
Copy link
Author

A solution from a few years back, in #155 (comment), could be adapted as well. It replaces the repository URLs, rather than adding to the list. The specific mirror chosen there is currently also down.

@rolweber
Copy link
Author

Definitely a local problem. From my machine, I cannot reach dl-cdn.alpinelinux.org, but the CI servers can. Hope the workaround will be useful nonetheless.

@ncopa
Copy link
Collaborator

ncopa commented Sep 24, 2019

https://downforeveryoneorjustme.com/dl-cdn.alpinelinux.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants