aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2023-10-08 12:05:39 +0200
committerChristian Segundo2023-10-08 22:57:58 +0200
commit294031e3ea90353849db49c536d89f469f8a97d1 (patch)
tree73147dbc943a71588b1967467e6f480fba541840
parent80a3b5a2f95a88d0dc9c2b2b85df08e91d0d91b8 (diff)
downloadnvim-294031e3ea90353849db49c536d89f469f8a97d1.tar.gz
add stylua
-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}"