Skip to content

Commit

Permalink
Merge pull request #3070 from yanggangtony/fix-alpine
Browse files Browse the repository at this point in the history
update alpine version to /etc/apk/repositories
  • Loading branch information
karmada-bot authored Jan 28, 2023
2 parents 50c689f + ae97a08 commit 2211ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ function util::set_mirror_registry_for_china_mainland() {
)
for dockerfile in "${dockerfile_list[@]}"; do
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
}

0 comments on commit 2211ce6

Please sign in to comment.