Closed nibazshab closed 7 months ago
Maybe I can submit a pr, but I don't find 10-cjk-font.sh in this repo :
This part is shared across multiple containers, both based on Alpine and Debian/Ubuntu. So I will add a generic solution that works in all cases.
PACKAGES_MIRROR
environment variable can now be used for this purpose.
Idea
In some countries, for some special reasons, cannot connect to
dl-cdn.alpinelinux.org
. So i hope can use custom repoThis is my idea:
Add a environment APKREPO, like
APKREPO=mirrors.aliyun.com
. And add a row likeif [ ! -z $APKREPO ]; then sed -i "s/dl-cdn.alpinelinux.org/$APKREPO/g" /etc/apk/repositories; fi
to 10-cjk-font.sh