alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
debian
RUN sed -i "s@http://deb.debian.org@https://mirrors.aliyun.com@g" /etc/apt/sources.list \
&& sed -i "s@http://security.debian.org@https://mirrors.aliyun.com@g" /etc/apt/sources.list
```