docker pull nginx:1.15.12

cat /etc/issue
Debian GNU/Linux 9 \n \l

mv /etc/apt/sources.list /etc/apt/sources.list.bak && \
    echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list && \
    echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list && \
    echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list && \
    echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
	
apt-get update
apt-get install -y vim

参考:https://developer.aliyun.com/mirror/debian?spm=a2c6h.13651102.0.0.3e221b11dlaQVG  

https://mirrors.tuna.tsinghua.edu.cn/help/debian/

相关文章:

  • 2022-02-09
  • 2022-01-10
  • 2021-11-19
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-11-12
相关资源
相似解决方案