CentOS 7 容器内替换 apt-get 源为阿里源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak echo "">sources.list echo "deb https://mirrors.aliyun.com/debian stable main contrib non-free">>sources.list echo "deb https://mirrors.aliyun.com/debian stable-updates main contrib non-free">>sources.list
Powered By D&J (URL:http://www.cnblogs.com/Areas/)