创建 Dockerfile 并且更新 apt 源

  |   0 评论   |   0 浏览

  在 Dockerfile 中添加如下两句代码:

11. RUN sed -i [email protected]/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
2    
32. RUN apt-get clean
---------------------------------------------------------------
>> 博客地址:https://blog.mufengs.com
>> 邮箱地址:[email protected]
>> 微信帐号:Do8080
>> Github : https://github.com/mufengcoding
---------------------------------------------------------------