次いでに lua, python, python3, rubyを有効にした。
FROM ubuntu:16.04
WORKDIR /root
RUN apt-get update
RUN apt-get -f install
RUN apt-get install -y git build-essential ncurses-dev lua5.2 lua5.2-dev luajit python-dev python3-dev ruby-dev
RUN git clone https://github.com/vim/vim
WORKDIR /root/vim
RUN git checkout -b v8.0.0008
RUN ./configure --with-features=huge --enable-multibyte --enable-luainterp=dynamic --enable-gpm --enable-cscope --enable-fontset --enable-fail-if-missing --prefix=/usr/local --enable-pythoninterp=dynamic --enable-python3interp=dynamic --enable-rubyinterp=dynamic
RUN make && make install