From 76a08088a70fcb26bf85a98c562be5fbb92b229a Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 25 Feb 2024 22:55:33 +0100 Subject: Add README.md --- Dockerfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') 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 -- cgit v1.2.3