Merge pull request #3070 from yanggangtony/fix-alpine

update alpine version to /etc/apk/repositories
This commit is contained in:
karmada-bot 2023-01-28 11:25:18 +08:00 committed by GitHub
commit 2211ce63e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ function util::set_mirror_registry_for_china_mainland() {
) )
for dockerfile in "${dockerfile_list[@]}"; do for dockerfile in "${dockerfile_list[@]}"; do
grep 'mirrors.ustc.edu.cn' ${repo_root}/${dockerfile} > /dev/null || sed -i'' -e "1a\\ grep 'mirrors.ustc.edu.cn' ${repo_root}/${dockerfile} > /dev/null || sed -i'' -e "1a\\
RUN echo -e http://mirrors.ustc.edu.cn/alpine/v3.15/main/ > /etc/apk/repositories" ${repo_root}/${dockerfile} RUN echo -e http://mirrors.ustc.edu.cn/alpine/v3.17/main/ > /etc/apk/repositories" ${repo_root}/${dockerfile}
done done
} }