Skip to content

Commit d88958f

Browse files
committed
add docker file
1 parent 36a813c commit d88958f

File tree

9 files changed

+15
-3134
lines changed

9 files changed

+15
-3134
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ubuntu:22.04
2+
3+
ENV PATH /node/bin:$PATH
4+
5+
ADD myvim.tar /
6+
RUN apt clean && \
7+
sed -i s@/archive.ubuntu.com/@/mirrors.ustc.edu.cn/@g /etc/apt/sources.list && \
8+
sed -i s@/security.ubuntu.com/@/mirrors.ustc.edu.cn/@g /etc/apt/sources.list && \
9+
apt update && apt install vim git g++ cmake ripgrep python3 clangd -y
10+

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
c++使用clangd lsp。
22
go使用gopls lsp,可以通过vim-go下载后,配置环境变量
33

4-
编译选项
4+
vim编译选项
55
./configure --with-features=huge --enable-fontset=yes --enable-cscope=yes --enable-multibyte --enable-python3interp=yes
6+
7+
打包给docker用
8+
tar -cvf myvim.tar node root
9+
docker build -t myvim:1 .

coc-settings.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)