Build it using:
docker build -f Dockerfile -t ajitid/nvim .
Run it using:
docker run -it --rm --init ajitid/nvim:latest ash
FROM anatolelucet/neovim:nightly | |
RUN apk add curl git | |
RUN mkdir -p /root/.config/nvim/ | |
RUN sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
RUN echo -en 'call plug#begin()\ncall plug#end()\n' > /root/.config/nvim/init.vim | |
WORKDIR /root |