Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Created August 2, 2019 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanpabloaj/d16ae931305b85436ee740bd7757a60e to your computer and use it in GitHub Desktop.
Save juanpabloaj/d16ae931305b85436ee740bd7757a60e to your computer and use it in GitHub Desktop.
dockerfile compile nvim centos
FROM centos:6
RUN yum install -y centos-release-scl-rh && \
yum install -y devtoolset-6-gcc rh-git29 \
rh-python36 python27 \
libtool autoconf automake cmake \
gcc gcc-c++ make pkgconfig \
unzip patch gettext
ENV HOME /root
RUN source scl_source enable devtoolset-6 rh-git29 rh-python36 && \
git clone https://github.com/neovim/neovim.git && \
cd neovim && \
mkdir -p $HOME/opt && \
make CMAKE_INSTALL_PREFIX=$HOME/opt install
# Python Neovim
# install python with pyenv
# pyenv shell 2.7.13 3.6.6
# pip install neovim
# pip install pynvim
# pip3 install pynvim
# nvim +UpdateRemotePlugins +q
# Extras
#yum install xclip # :help clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment