aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile33
-rw-r--r--README.md3
2 files changed, 36 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
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..20775a3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# nvim
+
+> stable & nightly Neovim images for CI