.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-go / debug / Dockerfile
diff --git a/.config/coc/extensions/node_modules/coc-go/debug/Dockerfile b/.config/coc/extensions/node_modules/coc-go/debug/Dockerfile
new file mode 100644 (file)
index 0000000..af61947
--- /dev/null
@@ -0,0 +1,20 @@
+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