build core, basic and go variants and add template
This commit is contained in:
25
basic/Containerfile
Normal file
25
basic/Containerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM code-core
|
||||
USER root
|
||||
ENV HOME=/root
|
||||
|
||||
# Install alpine packages
|
||||
RUN apk add --no-cache procps curl curl-doc make make-doc git git-doc
|
||||
|
||||
# Install neovim plugins
|
||||
WORKDIR /usr/local/share/nvim/site/pack/plugins/opt
|
||||
RUN printf '%s\n' \
|
||||
christoomey/vim-tmux-navigator benmills/vimux ap/vim-buftabline \
|
||||
nvim-tree/nvim-tree.lua nvim-tree/nvim-web-devicons ctrlpvim/ctrlp.vim \
|
||||
hrsh7th/nvim-cmp hrsh7th/cmp-buffer hrsh7th/cmp-path hrsh7th/cmp-nvim-lua \
|
||||
hrsh7th/cmp-cmdline hrsh7th/cmp-nvim-lsp neovim/nvim-lspconfig \
|
||||
saadparwaiz1/cmp_luasnip L3MON4D3/LuaSnip jiangmiao/auto-pairs \
|
||||
tpope/vim-surround tpope/vim-repeat kaiuri/nvim-juliana \
|
||||
| xargs -n1 -P0 -I'{}' git clone --depth 1 'https://github.com/{}'
|
||||
RUN printf 'helptags %s\n' */doc | nvim --noplugin -es
|
||||
|
||||
# Add neovim config
|
||||
COPY nvim /etc/xdg/nvim
|
||||
|
||||
# Configure environment
|
||||
USER 1000:1000
|
||||
ENV HOME=/tmp
|
||||
Reference in New Issue
Block a user