Skip to content

Instantly share code, notes, and snippets.

@poying
Created November 19, 2014 10:32
Show Gist options
  • Save poying/1bc77e409a3febbf0c8f to your computer and use it in GitHub Desktop.
Save poying/1bc77e409a3febbf0c8f to your computer and use it in GitHub Desktop.
Vim
FROM debian:wheezy
RUN apt-get update \
&& apt-get install -y build-essential \
libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
ruby-dev mercurial liblua5.2-dev lua5.2 \
&& rm -rf /var/lib/apt/lists/*
RUN cd /tmp \
&& hg clone https://code.google.com/p/vim/ \
&& cd vim \
&& ./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-pythoninterp \
--with-python-config-dir=/usr/lib/python2.7/config \
--enable-perlinterp \
--enable-luainterp \
--enable-gui=gtk2 --enable-cscope --prefix=/usr \
&& make \
&& make install \
&& cd /tmp \
&& rm -r vim
WORKDIR /workspace
CMD ["vim"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment