Docker Hub - niuez/nvim_builder is available. Build neovim from source(HEAD). You can try built neovim on this image.
MEMO: image size 148MB with debian:bullseye
Example using nvim_builder for neovim on gcc11.2.0 docker image with
- ccls(C++ language server)
- nvim-lspconfig
- lsp_signature.nvim
- vim-cpp-enhanced-highlight
- lyla.vim(my colorscheme)
- my neovim config files(in
ccls_example/nvim
)
docker build -t nvim_ccls ccls_example
# if you edit a single .cpp file, you should create .ccls(ccls config file)
touch .ccls
docker run -it --rm -v "$PWD":/content nvim_ccls 1.cpp
- push nvim_builder to docker Hub to use
FROM nvim_builder as builder