Rust-LS/Dockerfile
2024-06-20 13:03:55 -04:00

10 lines
358 B
Docker
Executable file

## 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"]