Skip to content

Commit 0914efd

Browse files
committed
Provide an image with default Vims (including Neovim)
Fixes Vimjas#27.
1 parent 9e2cbe9 commit 0914efd

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

Dockerfile.default

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# A set of default Vims, including Neovim.
2+
FROM testbed/vim
3+
4+
# Currently tested versions:
5+
# - v7.3.429 (Ubuntu Precise, 12.04LTS; same as on Travis currently)
6+
# - v7.4.052 (Ubuntu Trusty, 14.04LTS)
7+
# - v7.4.1689 (Ubuntu Xenial, 16.04LTS)
8+
# - v8.0.8069 (Updated Vim 8, https://groups.google.com/forum/#!topic/vim_dev/ro_FpeXgc24)
9+
RUN install_vim -tag v7.3.429 -name vim73 -py -build \
10+
-tag v7.4.052 -name vim74-trusty -build \
11+
-tag v7.4.1689 -name vim74-xenial -build \
12+
-tag v8.0.0069 -name vim8069 -build \
13+
-tag neovim:v0.1.7 -py2 -py3 -build \
14+
-tag neovim:v0.2.0 -py2 -py3 -build
15+
16+
ENV _UPDATE=2017-05-02
17+
18+
# Git master in a separate layer, since the above is meant to be stable.
19+
RUN install_vim -tag master -py3 -build \
20+
-tag neovim:master -py2 -py3 -build

Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
.PHONY: build push test
22

3+
DOCKER_REPO_BASE:=testbed/vim
4+
DOCKER_REPO_VIMS_DEFAULT:=testbed/vim-default
5+
36
TAG:=4
47

58
build:
6-
docker build -t testbed/vim:$(TAG) .
7-
9+
docker build -t $(DOCKER_REPO_BASE):$(TAG) .
810
push:
9-
docker push testbed/vim:$(TAG)
11+
docker push $(DOCKER_REPO_BASE):$(TAG)
12+
13+
build_default:
14+
docker build -f Dockerfile.default -t $(DOCKER_REPO_VIMS_DEFAULT) .
15+
push_default:
16+
docker push $(DOCKER_REPO_VIMS_DEFAULT)
1017

1118
# test: build the base image and example image on top, running tests therein.
1219
DOCKER_BASE_IMAGE:=vim-testbed-base

0 commit comments

Comments
 (0)