redox/podman/rustinstall.sh
2025-11-02 17:59:11 +07:00

12 lines
551 B
Bash
Executable File

#/usr/bin/env bash
# This script install the Rust toolchain and the build system dependencies
# in Podman after the image has been built
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
curl -sSLf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo +stable binstall --no-confirm --force --version 0.10.0 sccache
cargo +stable binstall --no-confirm --force --version 1.42.4 just
cargo +stable binstall --no-confirm --force --version 0.29.0 cbindgen