File tree Expand file tree Collapse file tree 21 files changed +98
-0
lines changed Expand file tree Collapse file tree 21 files changed +98
-0
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ ENV RUSTUP_HOME=/usr/local/rustup \
1212 RUST_VERSION=%%RUST-VERSION%%
1313
1414RUN set -eux; \
15+ \
1516 %%ARCH-CASE%%; \
17+ \
1618 url="https://static.rust-lang.org/rustup/archive/%%RUSTUP-VERSION%%/${rustArch}/rustup-init"; \
1719 wget "$url"; \
1820 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
21+ \
1922 chmod +x rustup-init; \
2023 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
2124 rm rustup-init; \
2225 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
26+ \
2327 rustup --version; \
2428 cargo --version; \
2529 rustc --version;
Original file line number Diff line number Diff line change @@ -8,14 +8,18 @@ ENV RUSTUP_HOME=/usr/local/rustup \
88 RUST_VERSION=%%RUST-VERSION%%
99
1010RUN set -eux; \
11+ \
1112 %%ARCH-CASE%%; \
13+ \
1214 url="https://static.rust-lang.org/rustup/archive/%%RUSTUP-VERSION%%/${rustArch}/rustup-init"; \
1315 wget --progress=dot:giga "$url"; \
1416 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
17+ \
1518 chmod +x rustup-init; \
1619 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
1720 rm rustup-init; \
1821 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
22+ \
1923 rustup --version; \
2024 cargo --version; \
2125 rustc --version;
Original file line number Diff line number Diff line change @@ -8,24 +8,30 @@ ENV RUSTUP_HOME=/usr/local/rustup \
88 RUST_VERSION=%%RUST-VERSION%%
99
1010RUN set -eux; \
11+ \
1112 apt-get update; \
1213 apt-get install -y --no-install-recommends \
1314 ca-certificates \
1415 gcc \
1516 libc6-dev \
1617 wget \
1718 ; \
19+ \
1820 %%ARCH-CASE%%; \
21+ \
1922 url="https://static.rust-lang.org/rustup/archive/%%RUSTUP-VERSION%%/${rustArch}/rustup-init"; \
2023 wget --progress=dot:giga "$url"; \
2124 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
25+ \
2226 chmod +x rustup-init; \
2327 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
2428 rm rustup-init; \
2529 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
30+ \
2631 rustup --version; \
2732 cargo --version; \
2833 rustc --version; \
34+ \
2935 apt-get remove -y --auto-remove \
3036 wget \
3137 ; \
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
1212 RUST_VERSION=nightly
1313
1414RUN set -eux; \
15+ \
1516 arch="$(apk --print-arch)" ; \
1617 case "$arch" in \
1718 'x86_64' ) \
@@ -31,13 +32,16 @@ RUN set -eux; \
3132 exit 1; \
3233 ;; \
3334 esac; \
35+ \
3436 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
3537 wget "$url" ; \
3638 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
39+ \
3740 chmod +x rustup-init; \
3841 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
3942 rm rustup-init; \
4043 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
44+ \
4145 rustup --version; \
4246 cargo --version; \
4347 rustc --version;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
1212 RUST_VERSION=nightly
1313
1414RUN set -eux; \
15+ \
1516 arch="$(apk --print-arch)" ; \
1617 case "$arch" in \
1718 'x86_64' ) \
@@ -31,13 +32,16 @@ RUN set -eux; \
3132 exit 1; \
3233 ;; \
3334 esac; \
35+ \
3436 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
3537 wget "$url" ; \
3638 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
39+ \
3740 chmod +x rustup-init; \
3841 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
3942 rm rustup-init; \
4043 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
44+ \
4145 rustup --version; \
4246 cargo --version; \
4347 rustc --version;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
1212 RUST_VERSION=nightly
1313
1414RUN set -eux; \
15+ \
1516 arch="$(apk --print-arch)" ; \
1617 case "$arch" in \
1718 'x86_64' ) \
@@ -31,13 +32,16 @@ RUN set -eux; \
3132 exit 1; \
3233 ;; \
3334 esac; \
35+ \
3436 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
3537 wget "$url" ; \
3638 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
39+ \
3740 chmod +x rustup-init; \
3841 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
3942 rm rustup-init; \
4043 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
44+ \
4145 rustup --version; \
4246 cargo --version; \
4347 rustc --version;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
88 RUST_VERSION=nightly
99
1010RUN set -eux; \
11+ \
1112 arch="$(dpkg --print-architecture)" ; \
1213 case "$arch" in \
1314 'amd64' ) \
@@ -39,13 +40,16 @@ RUN set -eux; \
3940 exit 1; \
4041 ;; \
4142 esac; \
43+ \
4244 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
4345 wget --progress=dot:giga "$url" ; \
4446 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
47+ \
4548 chmod +x rustup-init; \
4649 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
4750 rm rustup-init; \
4851 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
52+ \
4953 rustup --version; \
5054 cargo --version; \
5155 rustc --version;
Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ ENV RUSTUP_HOME=/usr/local/rustup \
88 RUST_VERSION=nightly
99
1010RUN set -eux; \
11+ \
1112 apt-get update; \
1213 apt-get install -y --no-install-recommends \
1314 ca-certificates \
1415 gcc \
1516 libc6-dev \
1617 wget \
1718 ; \
19+ \
1820 arch="$(dpkg --print-architecture)" ; \
1921 case "$arch" in \
2022 'amd64' ) \
@@ -46,16 +48,20 @@ RUN set -eux; \
4648 exit 1; \
4749 ;; \
4850 esac; \
51+ \
4952 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
5053 wget --progress=dot:giga "$url" ; \
5154 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
55+ \
5256 chmod +x rustup-init; \
5357 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
5458 rm rustup-init; \
5559 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
60+ \
5661 rustup --version; \
5762 cargo --version; \
5863 rustc --version; \
64+ \
5965 apt-get remove -y --auto-remove \
6066 wget \
6167 ; \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
88 RUST_VERSION=nightly
99
1010RUN set -eux; \
11+ \
1112 arch="$(dpkg --print-architecture)" ; \
1213 case "$arch" in \
1314 'amd64' ) \
@@ -31,13 +32,16 @@ RUN set -eux; \
3132 exit 1; \
3233 ;; \
3334 esac; \
35+ \
3436 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
3537 wget --progress=dot:giga "$url" ; \
3638 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
39+ \
3740 chmod +x rustup-init; \
3841 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
3942 rm rustup-init; \
4043 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
44+ \
4145 rustup --version; \
4246 cargo --version; \
4347 rustc --version;
Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ ENV RUSTUP_HOME=/usr/local/rustup \
88 RUST_VERSION=nightly
99
1010RUN set -eux; \
11+ \
1112 apt-get update; \
1213 apt-get install -y --no-install-recommends \
1314 ca-certificates \
1415 gcc \
1516 libc6-dev \
1617 wget \
1718 ; \
19+ \
1820 arch="$(dpkg --print-architecture)" ; \
1921 case "$arch" in \
2022 'amd64' ) \
@@ -38,16 +40,20 @@ RUN set -eux; \
3840 exit 1; \
3941 ;; \
4042 esac; \
43+ \
4144 url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init" ; \
4245 wget --progress=dot:giga "$url" ; \
4346 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
47+ \
4448 chmod +x rustup-init; \
4549 ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
4650 rm rustup-init; \
4751 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
52+ \
4853 rustup --version; \
4954 cargo --version; \
5055 rustc --version; \
56+ \
5157 apt-get remove -y --auto-remove \
5258 wget \
5359 ; \
You can’t perform that action at this time.
0 commit comments