Docker ubuntu apt-get更换国内源解决Dockerfile构建速度过慢

FROM ubuntu:latest

MAINTAINER kk "kk@qq.com"

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

RUN apt-get clean

RUN apt-get update


标签: docker
2019.11.13   /   热度:171   /   分类: docker

发表评论:

©地球仪的BLOG  |  Powered by Emlog