mirror of
https://github.com/dense-analysis/ale
synced 2024-12-17 20:05:31 +00:00
9c45358aab
When running the tests on aarch64, the run-tests script tries to download a pre-built image that is built for x86-64, and thus does not run. This change adds a check for the Docker daemon host platform and only downloads the image if it will run. Furthermore, the image dependency testbed/vim:24 is also built unless the platform is x86_64, since it is also only provided for this platform.
30 lines
663 B
Docker
30 lines
663 B
Docker
ARG TESTBED_VIM_VERSION=24
|
|
|
|
FROM testbed/vim:${TESTBED_VIM_VERSION}
|
|
|
|
RUN install_vim -tag v8.0.0027 -build \
|
|
-tag v9.0.0297 -build \
|
|
-tag neovim:v0.2.0 -build \
|
|
-tag neovim:v0.8.0 -build
|
|
|
|
ENV PACKAGES="\
|
|
bash \
|
|
git \
|
|
python2 \
|
|
python3 \
|
|
py3-pip \
|
|
grep \
|
|
sed \
|
|
"
|
|
RUN apk --update add $PACKAGES && \
|
|
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
|
|
|
|
RUN pip install vim-vint==0.3.21
|
|
|
|
RUN git clone https://github.com/junegunn/vader.vim vader && \
|
|
cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af
|
|
|
|
ARG GIT_VERSION
|
|
LABEL Version=${GIT_VERSION}
|
|
LABEL Name=denseanalysis/ale
|