add helix conf and change rust installation to slim down image again
All checks were successful
ci / checkout (push) Successful in 1m27s
All checks were successful
ci / checkout (push) Successful in 1m27s
This commit is contained in:
parent
938c5a7992
commit
4da65198a7
4 changed files with 22 additions and 4 deletions
2
.config/cargo/config.toml
Normal file
2
.config/cargo/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[unstable]
|
||||||
|
gc = true
|
9
.config/helix/config.toml
Normal file
9
.config/helix/config.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
theme = "tokyonight_moon"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
line-number = "relative"
|
||||||
|
mouse = true
|
||||||
|
|
||||||
|
[editor.file-picker]
|
||||||
|
hidden = false
|
||||||
|
|
3
.config/helix/languages.toml
Normal file
3
.config/helix/languages.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[editor.lsp.rust-analyzer.config.check]
|
||||||
|
command = "clippy"
|
||||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -17,16 +17,20 @@ RUN apk add --no-cache \
|
||||||
lazygit \
|
lazygit \
|
||||||
most \
|
most \
|
||||||
k9s \
|
k9s \
|
||||||
bash \
|
|
||||||
curl \
|
curl \
|
||||||
cargo \
|
|
||||||
git
|
git
|
||||||
|
|
||||||
COPY setup_langs /root/setup_langs
|
COPY setup_langs /root/setup_langs
|
||||||
COPY .config /root/.config
|
COPY .config /root/.config
|
||||||
|
|
||||||
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
RUN apk add --no-cache cargo bash; \
|
||||||
RUN cargo binstall --strategies crate-meta-data jj-cli; cargo binstall lazyjj
|
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash; \
|
||||||
|
cargo binstall --strategies crate-meta-data jj-cli; \
|
||||||
|
cargo binstall lazyjj; \
|
||||||
|
apk del cargo bash;
|
||||||
|
|
||||||
|
ENV TERM="xterm-256color"
|
||||||
|
ENV COLORTERM="truecolor"
|
||||||
|
|
||||||
# Set the entrypoint to fish
|
# Set the entrypoint to fish
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
|
Loading…
Add table
Reference in a new issue