From f8bc3a4f06fcc43cfd7389c2ae89473702ea0cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuna=20Alika=C5=9Fifo=C4=9Flu?= Date: Mon, 20 Feb 2023 02:03:22 +0300 Subject: [PATCH] feat(docker): add simple config for trying For trying the `kickstart.nvim` configuration, a simple Docker blueprint is implemented. --- .dockerignore | 6 ++++++ Dockerfile | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..09047786 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +.git* +Dockerfile +.dockerignore +LICENSE.md +README.md +doc/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..13dbcd2d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +FROM anatolelucet/neovim:nightly + +WORKDIR /root/.config/nvim + +# Install dependencies +RUN apk add --update \ + bash \ + curl \ + wget \ + gzip \ + unzip \ + git \ + npm \ + alpine-sdk \ + openssh-client \ + python3 \ + cargo \ + ripgrep \ + fd + +# Copy files +RUN mkdir -p /root/.config/nvim +COPY . /root/.config/nvim + +# Install nvim plugins and lsp servers +RUN nvim --headless "+Lazy! install" +"MasonInstall pyright" +qa +