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 +