A repo containing the source for my Neovim Docker images
- Base - a minimal Neovim built from source on Debian (~ 50 MB compressed -> Dockerhub)
- Full - opinionated image for my Neovim config (~ 300 MB compressed -> Dockerhub)
Each of the flavor is built for
- stable and HEAD Neovim
- linux/amd64 and linux/arm64 (no virtualization for Docker Desktop on Apple Silicone required)
- triggered nightly
You could save some MB with an even more minimal distribution like Alpine. In my opinion, Debian is the sweet spot of stability, packages, and minimalism. By using Debian as the base image, I must not make a compromise when using this image as the base for other images.
Use in your own Dockerfile as usual:
ARG ARCH
FROM ${ARCH}allaman/nvim-base:stable
docker run -it --name nvim --rm --entrypoint /bin/bash nvim-base:stable
docker run -it --name nvim --rm --mount type=bind,source="$(pwd)",target=/home/nvim/work nvim-full:stable
The provided Taskfile (Task is required) allows you to conveniently build the images locally.
Just run task
to get an overview.