feat(docker): add simple config for trying

For trying the `kickstart.nvim` configuration, a simple Docker blueprint
is implemented.
This commit is contained in:
Tuna Alikaşifoğlu 2023-02-20 02:03:22 +03:00
parent 72364ad9ac
commit f8bc3a4f06
No known key found for this signature in database
GPG Key ID: 16FE1DF5037D8B61
2 changed files with 33 additions and 0 deletions

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
.git*
Dockerfile
.dockerignore
LICENSE.md
README.md
doc/

27
Dockerfile Normal file
View File

@ -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