Rust-LS/Dockerfile

11 lines
358 B
Text
Raw Normal View History

2024-06-20 12:03:55 -05:00
## INSTALL ##
FROM rust
RUN rustup component add rust-src
RUN wget https://github.com/rust-lang/rust-analyzer/releases/download/2024-06-17/rust-analyzer-x86_64-unknown-linux-gnu.gz -O /tmp/rust-analyzer.gz
RUN gunzip -c /tmp/rust-analyzer.gz > /usr/bin/rust-analyzer
RUN chmod 755 /usr/bin/rust-analyzer
## RUNTIME ##
ENTRYPOINT ["/usr/bin/rust-analyzer"]