Skip to content

Commit a294ae1

Browse files
committed
Devtools: Install slint-lsp
1 parent 4566dbd commit a294ae1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

devtools/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
4141
&& chmod 777 $RUSTUP_HOME \
4242
&& chmod 777 $CARGO_HOME
4343

44+
# Install slint-lsp for its formatter
45+
ARG SLINT_LSP_VERSION="1.10.0"
46+
ARG SLINT_LSP_URL="https://github.com/slint-ui/slint/releases/download/v${SLINT_LSP_VERSION}/slint-lsp-linux.tar.gz"
47+
RUN wget -c "${SLINT_LSP_URL}" -O /tmp.tar.gz \
48+
&& tar -xzf /tmp.tar.gz -C /usr/local/bin --strip-components 1 slint-lsp/slint-lsp \
49+
&& rm /tmp.tar.gz \
50+
&& slint-lsp --version
51+
4452
# Install Python packages
4553
ENV PIP_BREAK_SYSTEM_PACKAGES=1
4654
RUN pip3 install \

0 commit comments

Comments
 (0)