Undid so-called fix
This commit is contained in:
parent
d8d070a87d
commit
d9fd36b2ac
1 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,6 @@ RUN apt install -y wget build-essential libssl-dev pkg-config
|
||||||
RUN wget https://sh.rustup.rs -O rust.sh
|
RUN wget https://sh.rustup.rs -O rust.sh
|
||||||
RUN chmod +x rust.sh
|
RUN chmod +x rust.sh
|
||||||
|
|
||||||
# Installing Rust
|
|
||||||
RUN ./rust.sh -y
|
|
||||||
|
|
||||||
# Downloading Rust-Analyzer
|
# Downloading Rust-Analyzer
|
||||||
RUN wget https://github.com/rust-lang/rust-analyzer/releases/download/2025-01-13/rust-analyzer-x86_64-unknown-linux-gnu.gz -O rust-analyzer.gz
|
RUN wget https://github.com/rust-lang/rust-analyzer/releases/download/2025-01-13/rust-analyzer-x86_64-unknown-linux-gnu.gz -O rust-analyzer.gz
|
||||||
RUN gunzip -c rust-analyzer.gz > /usr/local/bin/rust-analyzer
|
RUN gunzip -c rust-analyzer.gz > /usr/local/bin/rust-analyzer
|
||||||
|
@ -27,5 +24,8 @@ RUN chmod +x /usr/local/bin/rust-analyzer
|
||||||
RUN useradd -m rustacean
|
RUN useradd -m rustacean
|
||||||
USER rustacean
|
USER rustacean
|
||||||
|
|
||||||
|
# Installing Rust
|
||||||
|
RUN ./rust.sh -y
|
||||||
|
|
||||||
## RUNTIME ##
|
## RUNTIME ##
|
||||||
ENTRYPOINT ["/usr/local/bin/rust-analyzer"]
|
ENTRYPOINT ["/usr/local/bin/rust-analyzer"]
|
||||||
|
|
Loading…
Reference in a new issue