diff options
author | Christian Segundo | 2024-02-25 22:55:33 +0100 |
---|---|---|
committer | Christian Segundo | 2024-02-25 22:55:33 +0100 |
commit | 76a08088a70fcb26bf85a98c562be5fbb92b229a (patch) | |
tree | f913b031a2645defb633eb7ee56bd3ec4c46eaae /Dockerfile | |
download | nvim-76a08088a70fcb26bf85a98c562be5fbb92b229a.tar.gz |
Add README.md
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a9cc343 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +# hadolint ignore=DL3007 +FROM alpine:latest + +ARG NEOVIM_VERSION=- + +# hadolint ignore=DL3018 +RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ + apk update && \ + apk --no-cache add \ + autoconf \ + automake \ + bash \ + build-base \ + cmake \ + coreutils \ + curl \ + gettext-tiny-dev \ + git \ + libtool \ + lua-language-server@testing \ + luacheck \ + pkgconf \ + stylua \ + 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 |