11export RUSTUP_HOME=/usr/local/rustup
22export CARGO_HOME=/usr/local/cargo
33export PATH=/usr/local/cargo/bin:$PATH
4- export RUST_VERSION=1.42 .0
4+ export RUST_VERSION=1.46 .0
55
66set -eux
77dpkgArch=" $( dpkg --print-architecture) "
88case " ${dpkgArch##* -} " in
9- amd64) rustArch=' x86_64-unknown-linux-gnu' ; rustupSha256=' ad1f8b5199b3b9e231472ed7aa08d2e5d1d539198a15c5b1e53c746aad81d27b ' ;;
10- armhf) rustArch=' armv7-unknown-linux-gnueabihf' ; rustupSha256=' 6c6c3789dabf12171c7f500e06d21d8004b5318a5083df8b0b02c0e5ef1d017b ' ;;
11- arm64) rustArch=' aarch64-unknown-linux-gnu' ; rustupSha256=' 26942c80234bac34b3c1352abbd9187d3e23b43dae3cf56a9f9c1ea8ee53076d ' ;;
12- i386) rustArch=' i686-unknown-linux-gnu' ; rustupSha256=' 27ae12bc294a34e566579deba3e066245d09b8871dc021ef45fc715dced05297 ' ;;
9+ amd64) rustArch=' x86_64-unknown-linux-gnu' ; rustupSha256=' 49c96f3f74be82f4752b8bffcf81961dea5e6e94ce1ccba94435f12e871c3bdb ' ;;
10+ armhf) rustArch=' armv7-unknown-linux-gnueabihf' ; rustupSha256=' 5a2be2919319e8778698fa9998002d1ec720efe7cb4f6ee4affb006b5e73f1be ' ;;
11+ arm64) rustArch=' aarch64-unknown-linux-gnu' ; rustupSha256=' d93ef6f91dab8299f46eef26a56c2d97c66271cea60bf004f2f088a86a697078 ' ;;
12+ i386) rustArch=' i686-unknown-linux-gnu' ; rustupSha256=' e3d0ae3cfce5c6941f74fed61ca83e53d4cd2deb431b906cbd0687f246efede4 ' ;;
1313 * ) echo >&2 " unsupported architecture: ${dpkgArch} " ; exit 1 ;;
14- esac
15- url=" https://static.rust-lang.org/rustup/archive/1.21 .1/${rustArch} /rustup-init"
14+ esac ;
15+ url=" https://static.rust-lang.org/rustup/archive/1.22 .1/${rustArch} /rustup-init" ;
1616wget " $url "
1717echo " ${rustupSha256} *rustup-init" | sha256sum -c -
1818chmod +x rustup-init
@@ -23,11 +23,6 @@ rustup --version
2323cargo --version
2424rustc --version
2525
26- rustup target add x86_64-unknown-linux-musl
27- apt-get update
28- apt-get install -y musl-tools
26+ rustup target add x86_64-unknown-linux-gnu
2927HELM_INSTALL_DIR=/bin
30- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash
31- curl -L -o myke https://github.com/fiji-flo/myke/releases/download/0.9.11/myke-0.9.11-x86_64-unknown-linux-musl
32- chmod +x ./myke
33- mv ./myke /bin/myke
28+ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash
0 commit comments