1. Alpine中Error required by: world
构建alpine的docker镜像时总是出现问题: 下载ERROR失败,required by: world;这里大概率是源有问题,修改一下即可。
- 例如:
echo "http://mirrors.aliyun.com/alpine/v3.12/main" > /etc/apk/repositories \ && echo "http://mirrors.aliyun.com/alpine/v3.12/community" >> /etc/apk/repositories \ && echo "http://mirrors.aliyun.com/alpine/v3.12/releases" >> /etc/apk/repositories
2. Alpine官方相关资源地址
- 查询alpine中apk包的依赖关系:https://pkgs.alpinelinux.org/
其中分多个大版本,edge为最新发布的编译版本,v3.12等为依次的稳定版本。;每个大版本号中,有main,community,testing等测试分支;
- 查看各个镜像源地址:https://mirrors.alpinelinux.org/
3. 国内相关Alpine镜像源
#北京 清华 1Gbps
mirrors.tuna.tsinghua.edu.cn http https rsync Beijing, China 1 Gbps Status
#合肥 科大 700Mbps
mirrors.ustc.edu.cn http https rsync Hefei, Anhui, China 700 Mbps Status
#西安
mirrors.xjtu.edu.cn http https Xi'an, Shaanxi, China 100 Mbps Status
#南京
mirrors.nju.edu.cn http https Nanjing, Jiangsu, China 1 Gbps Status
#兰州
mirror.lzu.edu.cn http https Lanzhou, Gansu, China 100 Mbps Status
You have a quality site, I congratulate you on this
I read your article and liked it very much. Thank you for writing an excellent article.
#etrabet etrabet