在Dockerfile中添加
RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN apt-get clean
原文链接
在Dockerfile中添加
RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN apt-get clean
原文链接
本文标题:Docker ubuntu镜像更换apt-get源
本文链接:https://www.haomeiwen.com/subject/pstinctx.html
网友评论