diff options
author | Christian Segundo | 2022-11-05 21:35:53 +0100 |
---|---|---|
committer | Christian Segundo | 2022-11-05 21:35:53 +0100 |
commit | 888da767a63e66b5465f97425344dae036d821cc (patch) | |
tree | 51a25a8efbe8e2614ba5ab92f143ed4edbd5b927 /Dockerfile | |
download | nvim-888da767a63e66b5465f97425344dae036d821cc.tar.gz |
first commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..984dbf7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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 |