Skip to content

Instantly share code, notes, and snippets.

@delphinus
Created February 1, 2021 02:51
Show Gist options
  • Save delphinus/321750e40869937294e0821d918d30c5 to your computer and use it in GitHub Desktop.
Save delphinus/321750e40869937294e0821d918d30c5 to your computer and use it in GitHub Desktop.
Neovim + plenary.nvim
FROM ubuntu:21.04
RUN yes | unminimize
RUN apt-get update && apt-get install -y \
ninja-build gettext libtool libtool-bin autoconf automake cmake g++ \
pkg-config unzip git man-db \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 --single-branch \
https://github.com/neovim/neovim ~/neovim \
&& cd ~/neovim \
&& make CMAKE_BUILD_TYPE=Release \
&& make CMAKE_INSTALL_PREFIX=$HOME/local/nvim install
RUN echo 'export PATH=$HOME/local/nvim/bin:$PATH' >> ~/.bashrc
RUN echo 'nvim --version' >> ~/.bashrc
RUN git clone https://github.com/nvim-lua/plenary.nvim \
~/.local/share/nvim/site/pack/packer/start/plenary.nvim
WORKDIR /root
ENTRYPOINT /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment