Skip to content

Commit

Permalink
Use minimal profile for installing xargo.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed May 3, 2020
1 parent de91808 commit 4c214fd
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 4c214fd

Please sign in to comment.