diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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}" |