FROM alpine:latest ARG NEOVIM_VERSION=- RUN apk --no-cache add \ autoconf \ automake \ bash \ build-base \ cmake \ coreutils \ curl \ gettext-tiny-dev \ git \ libtool \ luacheck \ pkgconf \ unzip \ wget SHELL ["/bin/bash", "-o", "pipefail", "-c"] WORKDIR /tmp/nvim RUN git clone --depth 1 --branch ${NEOVIM_VERSION} https://github.com/neovim/neovim . && \ make CMAKE_BUILD_TYPE=Release && \ make install && \ rm -rf /tmp/nvim