Skip to content

Commit

Permalink
Provide an image with default Vims (including Neovim)
Browse files Browse the repository at this point in the history
Fixes Vimjas#27.
  • Loading branch information
blueyed committed Jul 23, 2018
1 parent e3679d8 commit dffee6f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
16 changes: 16 additions & 0 deletions Dockerfile.default
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# A set of default Vims, including the latest Neovim release.
#
# This is available online at https://hub.docker.com/r/testbed/vim-default/.
FROM testbed/vim

# Currently tested versions:
# - v7.3.429 (Ubuntu Precise, 12.04LTS; same as on Travis currently)
# - v7.4.052 (Ubuntu Trusty, 14.04LTS)
# - v7.4.1689 (Ubuntu Xenial, 16.04LTS)
# - v8.1.0000 (Stable release according to Windows download at
# http://www.vim.org/download.php)
RUN install_vim -tag v7.3.429 -name vim73 -py -build \
-tag v7.4.052 -name vim74-trusty -build \
-tag v7.4.1689 -name vim74-xenial -build \
-tag v8.1.0000 -name vim -py2 -py3 -build \
-tag neovim:v0.3.1 -name nvim -py2 -py3 -build
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
.PHONY: build push test

DOCKER_REPO_BASE:=testbed/vim
DOCKER_REPO_VIMS_DEFAULT:=testbed/vim-default

TAG:=11

build:
docker build -t testbed/vim:$(TAG) .

docker build -t $(DOCKER_REPO_BASE):$(TAG) .
push:
docker push testbed/vim:$(TAG)
docker push $(DOCKER_REPO_BASE):$(TAG)

build_default:
docker build -f Dockerfile.default -t $(DOCKER_REPO_VIMS_DEFAULT) .
push_default:
docker push $(DOCKER_REPO_VIMS_DEFAULT)

update_latest:
docker tag testbed/vim:$(TAG) testbed/vim:latest
Expand Down

0 comments on commit dffee6f

Please sign in to comment.