fixed build script to properly install rust

This commit is contained in:
Vomitblood 2024-08-08 04:05:42 +08:00
parent 8f184cb72f
commit f8ac26c51d

View file

@ -20,7 +20,11 @@ docker run --rm -it \
apt update && apt upgrade -y && \ apt update && apt upgrade -y && \
# install tauri dependencies # install tauri dependencies
apt install -y cargo libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev && \ apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev && \
# install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
. /root/.cargo/env && \
# install mise # install mise
install -dm 755 /etc/apt/keyrings && \ install -dm 755 /etc/apt/keyrings && \