Skip to content

Dockerized Neovim in different flavours and architectures

License

Notifications You must be signed in to change notification settings

Allaman/nvim-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nvim-Docker

A repo containing the source for my Neovim Docker images

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

Why Debian as base

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.

Usage

As base image

Use in your own Dockerfile as usual:

ARG ARCH
FROM ${ARCH}allaman/nvim-base:stable

As dockerized Neovim

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

Local Building

The provided Taskfile (Task is required) allows you to conveniently build the images locally.

Just run task to get an overview.