# 通过阿里云源安装vim命令

wuchangjian2021-11-09 17:36:58编程学习

# 通过阿里云源安装vim命令
 
RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak
RUN echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib">>/etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib">>/etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/debian-security buster/updates main">>/etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/debian-security buster/updates main">>/etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib">>/etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib">>/etc/apt/sources.list
RUN echo "deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib">>/etc/apt/sources.list
RUN echo "deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib">>/etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y vim

相关文章

7-172 抓老鼠啊~亏了还是赚了? (20 分)

7-172 抓老鼠啊~亏了还是赚了? (20 分) 某地老鼠成灾...

深入详解Linux进程间通信之共享内存(Shared Memory)+信号量同步【2】

在Linux下的多个进程间的通信机制叫做IPC(Inter-Process Commun...

掌财社:全球加密货币的天堂,为什么是冰岛?

自带文艺忧郁气质的冰岛,国土面积10.3万平方公里,人口只有...

输入月份出天数

#include <stdio.h> int main(int argc,...

【java基础】线程的生命周期、创建的两种方式及使用、线程的同步

目录  一、概念 1、程序、进程、线程 二、线程的创建和使用 1、通过继承Thr...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。