diff --git a/Dockerfile b/Dockerfile index 983d683..4741838 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.5 +FROM alpine:3.6 RUN adduser -h /home -s /bin/sh -D -u 8465 vimtest diff --git a/Makefile b/Makefile index cc17b46..8569e80 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: build push test -TAG:=3 +TAG:=4 build: docker build -t testbed/vim:$(TAG) . diff --git a/scripts/install_vim.sh b/scripts/install_vim.sh index ac9d768..66a9aa0 100644 --- a/scripts/install_vim.sh +++ b/scripts/install_vim.sh @@ -159,6 +159,8 @@ EOF libuv-dev \ libtermkey-dev \ libvterm-dev \ + lua5.1-lpeg \ + lua5.1-mpack \ luajit-dev \ m4 \ make \ @@ -167,19 +169,6 @@ EOF unzip \ unibilium-dev \ xz - - # Install luarocks manually for Alpine's luajit. - # I could not make it work through LUAROCKS_OPTS in DEPS_CMAKE_FLAGS. - ( cd /tmp - curl -SL https://luarocks.org/releases/luarocks-2.4.1.tar.gz | tar zxp - cd luarocks-* - ./configure --lua-suffix=jit --with-lua-bin=/usr/bin/luajit \ - --with-lua-include=/usr/include/luajit-2.1 - make bootstrap - for rock in lpeg mpack; do - luarocks install $rock - done - ) else bail "Unexpected FLAVOR: $FLAVOR (use vim or neovim)." fi