From b6ea14d3f89ab342b04f543bc6b183480c7e34bb Mon Sep 17 00:00:00 2001 From: Rane Brown Date: Fri, 20 Dec 2019 20:40:48 -0700 Subject: [PATCH] Pin versions for everything --- Dockerfile | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e83bfc..68697ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,20 @@ -FROM tweekmonster/vim-testbed:latest +FROM testbed/vim:17 -ENV PACKAGES="\ - bash \ - git \ - python3 \ -" -RUN apk --update add $PACKAGES && \ - rm -rf /var/cache/apk/* /tmp/* /var/tmp/* +# add packages +RUN apk --no-cache add bash=~5.0 +RUN apk --no-cache add git=~2.22 +RUN apk --no-cache add python3=~3.7 -RUN pip3 install --upgrade pip setuptools -RUN pip3 install vim-vint -RUN git clone https://github.com/junegunn/vader.vim vader +# get vint for linting +RUN pip3 install vim-vint==0.3.21 +# get vader for unit tests +RUN git clone -n https://github.com/junegunn/vader.vim /vader +WORKDIR /vader +RUN git checkout de8a976f1eae2c2b680604205c3e8b5c8882493c + +# build vim and neovim versions we want to test +WORKDIR / RUN install_vim -tag v7.3.429 -name vim_7.3.429 -build \ -tag v7.4.1099 -name vim_7.4.1099 -build \ -tag v7.4.1546 -name vim_7.4.1546 -build \