setup: properly install rust + cargo

This commit is contained in:
Carla Kirk-Cohen 2024-04-18 18:48:31 -04:00
parent 5403dcc925
commit 9f25313cc2
No known key found for this signature in database
GPG Key ID: 4CA7FE54A6213C91
1 changed files with 3 additions and 2 deletions

View File

@ -10,8 +10,9 @@ RUN apt-get install -y neovim
# Install Golang
RUN apt-get install -y golang
# Install Rust
RUN apt-get install -y rustc
# Install rust + set cargo path
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Create bitcoin conf so that bitcoin-cli just works.
RUN mkdir -p ~/.bitcoin && \