blob: 984dbf7f5f9563dc0023022cb51c5e78e6f63ab2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
FROM alpine:latest
ARG NEOVIM_VERSION=stable
WORKDIR /tmp/nvim
RUN apk --no-cache add \
autoconf \
automake \
bash \
build-base \
cargo \
cmake \
coreutils \
curl \
gettext-tiny-dev \
git \
libarchive-tools \
libtool \
make \
npm \
perl \
perl-json-xs \
perl-lwp-protocol-https \
pkgconf \
rust \
unzip
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN git clone --depth 1 --branch ${NEOVIM_VERSION} https://github.com/neovim/neovim && \
cd neovim && \
make CMAKE_BUILD_TYPE=Release && \
make install
|