add rust setup
This commit is contained in:
parent
b09bd5fa62
commit
1fdf0a1f3f
3 changed files with 15 additions and 0 deletions
2
.config/fish/config.fish
Normal file
2
.config/fish/config.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
fish_add_path /root/.cargo/bin/
|
|
@ -16,7 +16,13 @@ RUN apk add --no-cache \
|
||||||
lazygit \
|
lazygit \
|
||||||
most \
|
most \
|
||||||
k9s \
|
k9s \
|
||||||
|
bash \
|
||||||
|
curl \
|
||||||
|
cargo \
|
||||||
git
|
git
|
||||||
|
|
||||||
|
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||||
|
RUN cargo binstall --strategies crate-meta-data jj-cli
|
||||||
|
|
||||||
# Set the entrypoint to fish
|
# Set the entrypoint to fish
|
||||||
ENTRYPOINT ["fish"]
|
ENTRYPOINT ["fish"]
|
||||||
|
|
7
setup_langs/rust.sh
Normal file
7
setup_langs/rust.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
apk add --no-cache \
|
||||||
|
rust \
|
||||||
|
cargo \
|
||||||
|
rust-analyzer \
|
||||||
|
clippy
|
Loading…
Add table
Reference in a new issue