diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,8 +1,6 @@ FROM alpine:latest -ARG NEOVIM_VERSION=v0.8.0 - -WORKDIR /tmp/nvim +ARG NEOVIM_VERSION=v0.9.2 RUN apk --no-cache add \ autoconf \ @@ -16,11 +14,14 @@ RUN apk --no-cache add \ git \ libtool \ pkgconf \ - unzip + unzip \ + wget SHELL ["/bin/bash", "-o", "pipefail", "-c"] +WORKDIR /tmp/nvim RUN git clone --depth 1 --branch ${NEOVIM_VERSION} https://github.com/neovim/neovim && \ cd neovim && \ make CMAKE_BUILD_TYPE=Release && \ - make install + make install && \ + rm -rf /tmp/nvim |