Build it using:
docker build -f Dockerfile -t ajitid/nvim-fedora .
Run it using:
docker run -it --rm --init ajitid/nvim-fedora:latest bash
# modified form of https://github.com/casonadams/nvim-container/blob/master/Dockerfile | |
FROM registry.fedoraproject.org/fedora-minimal:latest | |
RUN microdnf install -y \ | |
bat \ | |
fd-find \ | |
fzf \ | |
git \ | |
neovim \ | |
ripgrep \ | |
&& microdnf clean all \ | |
; | |
RUN curl -fLo /root/.config/nvim/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 |