Skip to content

Commit dffee6f

Browse files
committed
Provide an image with default Vims (including Neovim)
Fixes #27.
1 parent e3679d8 commit dffee6f

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

Dockerfile.default

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# A set of default Vims, including the latest Neovim release.
2+
#
3+
# This is available online at https://hub.docker.com/r/testbed/vim-default/.
4+
FROM testbed/vim
5+
6+
# Currently tested versions:
7+
# - v7.3.429 (Ubuntu Precise, 12.04LTS; same as on Travis currently)
8+
# - v7.4.052 (Ubuntu Trusty, 14.04LTS)
9+
# - v7.4.1689 (Ubuntu Xenial, 16.04LTS)
10+
# - v8.1.0000 (Stable release according to Windows download at
11+
# http://www.vim.org/download.php)
12+
RUN install_vim -tag v7.3.429 -name vim73 -py -build \
13+
-tag v7.4.052 -name vim74-trusty -build \
14+
-tag v7.4.1689 -name vim74-xenial -build \
15+
-tag v8.1.0000 -name vim -py2 -py3 -build \
16+
-tag neovim:v0.3.1 -name nvim -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:=11
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
update_latest:
1219
docker tag testbed/vim:$(TAG) testbed/vim:latest

0 commit comments

Comments
 (0)