aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile7
1 files changed, 5 insertions, 2 deletions
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}"