Created
August 2, 2019 22:41
-
-
Save juanpabloaj/d16ae931305b85436ee740bd7757a60e to your computer and use it in GitHub Desktop.
dockerfile compile nvim centos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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