mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 02:13:34 +02:00
Install rustup in common.docker
This commit is contained in:
10
imagefiles/build-and-install-rustup.sh
Executable file
10
imagefiles/build-and-install-rustup.sh
Executable 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
|
Reference in New Issue
Block a user