其他分享
首页 > 其他分享> > alpine,debian替换源

alpine,debian替换源

作者:互联网

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 
    ```

标签:mirrors,替换,etc,sed,aliyun,org,debian,alpine
来源: https://blog.csdn.net/zoeou/article/details/122431424