Install rustup in common.docker

This commit is contained in:
Jonas Vautherin
2025-02-15 22:21:25 +01:00
parent b7f8ddd484
commit 133cdd4bf5
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -ex
if ! command -v curl &> /dev/null; then
echo >&2 'error: "curl" not found!'
exit 1
fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y