]> git.madduck.net Git - etc/vim.git/blob - Dockerfile

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Keep/handle (auto)indent with O (#119)
[etc/vim.git] / Dockerfile
1 FROM testbed/vim:latest
2
3 RUN apk --no-cache add gtk+2.0-dev libx11-dev libxt-dev mcookie xauth xvfb
4 # NOTE: +profile needs huge features.
5 RUN install_vim -tag v8.1.0129 -name vim --with-features=huge \
6   --disable-channel --disable-netbeans --disable-xim \
7   --enable-gui=gtk2 --with-x -build
8 RUN ln -s /vim-build/bin/vim /usr/bin/gvim
9 RUN gvim --version
10
11 # Install covimerage and vint.
12 # NOTE: we have py2 already via gtk+2.0-dev.
13 # NOTE: enum34+pathlib+typing gets installed as workaround for broken vim-vint wheel.
14 RUN apk --no-cache add py2-pip \
15   && pip install --no-cache-dir codecov covimerage==0.0.9 vim-vint enum34 pathlib typing \
16   && rm -rf /usr/include /usr/lib/python*/turtle* /usr/lib/python*/tkinter
17
18 WORKDIR /vim-python-pep8-indent
19
20 ADD Gemfile .
21 RUN apk --no-cache add coreutils ruby-bundler
22 RUN bundle install
23
24 ENTRYPOINT ["rspec", "spec"]