From 294031e3ea90353849db49c536d89f469f8a97d1 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 8 Oct 2023 12:05:39 +0200 Subject: add stylua --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 87f1258..7a3b82f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN apk --no-cache add \ automake \ bash \ build-base \ + cargo \ cmake \ coreutils \ curl \ @@ -20,8 +21,10 @@ RUN apk --no-cache add \ SHELL ["/bin/bash", "-o", "pipefail", "-c"] WORKDIR /tmp/nvim -RUN git clone --depth 1 --branch ${NEOVIM_VERSION} https://github.com/neovim/neovim && \ - cd neovim && \ +RUN git clone --depth 1 --branch ${NEOVIM_VERSION} https://github.com/neovim/neovim . && \ make CMAKE_BUILD_TYPE=Release && \ make install && \ + cargo install stylua && \ rm -rf /tmp/nvim + +ENV PATH="/root/.cargo/bin:${PATH}" -- cgit v1.2.3