美文网首页
Docker ubuntu镜像更换apt-get源

Docker ubuntu镜像更换apt-get源

作者: 木人呆呆 | 来源:发表于2019-12-20 13:34 被阅读0次

    在Dockerfile中添加

    RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
    RUN apt-get clean

    原文链接

    https://www.jianshu.com/p/c1885cc192a6

    转载于:https://www.cnblogs.com/yahengwang/p/10684028.html

    相关文章

      网友评论

          本文标题:Docker ubuntu镜像更换apt-get源

          本文链接:https://www.haomeiwen.com/subject/pstinctx.html