diff --git a/.config/cargo/config.toml b/.config/cargo/config.toml new file mode 100644 index 0000000..b650e8b --- /dev/null +++ b/.config/cargo/config.toml @@ -0,0 +1,2 @@ +[unstable] +gc = true diff --git a/.config/helix/config.toml b/.config/helix/config.toml new file mode 100644 index 0000000..953a4ec --- /dev/null +++ b/.config/helix/config.toml @@ -0,0 +1,9 @@ +theme = "tokyonight_moon" + +[editor] +line-number = "relative" +mouse = true + +[editor.file-picker] +hidden = false + diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml new file mode 100644 index 0000000..cd519cd --- /dev/null +++ b/.config/helix/languages.toml @@ -0,0 +1,3 @@ +[editor.lsp.rust-analyzer.config.check] +command = "clippy" + diff --git a/Dockerfile b/Dockerfile index d808a50..75ff565 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,16 +17,20 @@ RUN apk add --no-cache \ lazygit \ most \ k9s \ - bash \ curl \ - cargo \ git COPY setup_langs /root/setup_langs 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 cargo binstall --strategies crate-meta-data jj-cli; cargo binstall lazyjj +RUN apk add --no-cache cargo bash; \ + 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 WORKDIR /root/