Skip to content

Commit

Permalink
Merge #419
Browse files Browse the repository at this point in the history
419: Use minimal profile for installing `xargo`. r=adamgreig a=reitermarkus



Co-authored-by: Markus Reiter <[email protected]>
  • Loading branch information
bors[bot] and reitermarkus authored May 4, 2020
2 parents 5315007 + 4c214fd commit 3e60c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/xargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ main() {
export CARGO_HOME=/tmp/cargo

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
sh rustup-init.sh -y --no-modify-path
sh rustup-init.sh -y --no-modify-path --profile minimal
rm rustup-init.sh

PATH="${CARGO_HOME}/bin:${PATH}" cargo install xargo --root /usr
PATH="${CARGO_HOME}/bin:${PATH}" cargo install xargo --root /usr/local

rm -r "${RUSTUP_HOME}" "${CARGO_HOME}"

Expand Down

0 comments on commit 3e60c8c

Please sign in to comment.