nvim/coc/extensions/node_modules/coc-go/debug/Dockerfile

21 lines
465 B
Docker
Raw Normal View History

2021-03-09 22:18:08 +00:00
FROM alpine
RUN apk add --no-cache \
bash \
neovim \
curl \
nodejs \
yarn \
go
RUN \
mkdir -p ~/.local/share/nvim/site/pack/coc/start \
&& cd ~/.local/share/nvim/site/pack/coc/start \
&& curl -sS --fail -L https://github.com/neoclide/coc.nvim/archive/release.tar.gz|tar xzfv -
RUN nvim -c 'CocInstall -sync coc-go |q' +qall
RUN mkdir -p /root/.config/nvim/undo
ADD init.vim /root/.config/nvim/init.vim
WORKDIR /workdir