5 ms·
The installer from https://www.rust-lang.org https://www.rust-lang.org works fine on Debian stable. Right now, you can just use the upstream rustup.sh script fo
by lambda 11y ago
The installer from https://www.rust-lang.org https://www.rust-lang.org works fine on Debian stable. Right now, you can just use the upstream rustup.sh script for platforms that don't yet have it packaged (like Debian stable), or install from your distro for those that do (or use rustup.sh on those as well if you like).
What I'm not seeing is the value of a Docker image. Rust doesn't have much in the way of runtime dependencies, which is where the value of a container generally comes in. I don't know of a platform where Docker image would work but rustup.sh would not.
- nitrogen 11y agoI'd attribute it to IMO bad devops habits encouraged by Docker. It's too easy in Docker to depend on someone's unofficial image ("FROM rustxyz" vs. "FROM debian + download deps + install rust"). Having official images would at least reduce the number of people building their infrastructure on unverified/unofficial images.
- Drdrdrq 11y agoSo you think running some script on my machine is preferable to running a container? If I don't like having Rust around, with containers I can just remove it. With script - yeah, maybe, with some digging for correct parameters and assuming it cleans up after itself properly (which is far from trivial). Packages are of course preferable if available and up-to-date.
- steveklabnik 11y agorustup.sh has an --uninstall flag that should remove everything cleanly.
- Drdrdrq 11y agoShould. It wouldn't be the first script to have a bug.