File tree 11 files changed +81
-16
lines changed
11 files changed +81
-16
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ language: bash
2
2
services : docker
3
3
4
4
env :
5
- - VERSION=1.21.0 VARIANT=stretch
6
- - VERSION=1.21.0 VARIANT=jessie
5
+ - VERSION=1.23.0-beta.1 VARIANT=stretch
6
+ - VERSION=1.23.0-beta.1 VARIANT=jessie
7
7
8
8
install :
9
9
- git clone https://github.com/docker-library/official-images.git ~/official-images
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ RUN set -eux; \
9
9
# this "case" statement is generated via "update.sh"
10
10
dpkgArch="$(dpkg --print-architecture)" ; \
11
11
case "${dpkgArch##*-}" in \
12
- amd64) rustArch='x86_64-unknown-linux-gnu' ; rustupSha256='f5833a64fd549971be80fa42cffc6c5e7f51c4f443cd46e90e4c17919c24481f ' ;; \
13
- armhf) rustArch='armv7-unknown-linux-gnueabihf' ; rustupSha256='67a98a67f7f7bf19c5cde166499acb8299f2f8fa88c155093df53b66da1f512a ' ;; \
14
- arm64) rustArch='aarch64-unknown-linux-gnu' ; rustupSha256='82fe368c4ebf1683d57e137242793a4417042639aace8bd514601db7d79d3645 ' ;; \
15
- i386) rustArch='i686-unknown-linux-gnu' ; rustupSha256='7a1c085591f6c1305877919f8495c04a1c97546d001d1357a7a879cedea5afbb ' ;; \
12
+ amd64) rustArch='x86_64-unknown-linux-gnu' ; rustupSha256='5a38dbaf7ab2e4335a3dfc42698a5b15e7167c93b0b06fc95f53c1da6379bf1a ' ;; \
13
+ armhf) rustArch='armv7-unknown-linux-gnueabihf' ; rustupSha256='f7ffec8a9cfe3096d535576e79cbd501766fda3769e9ed755cf1f18d7a3ba49c ' ;; \
14
+ arm64) rustArch='aarch64-unknown-linux-gnu' ; rustupSha256='bc513fbd0d221166d3aa612907016d417f8642448d1727c1446876ec9326ab2c ' ;; \
15
+ i386) rustArch='i686-unknown-linux-gnu' ; rustupSha256='82b7ca05ce20e7b8f8dff4a406ef3610d21feb1476fa6fd8959355ac11474ce5 ' ;; \
16
16
*) echo >&2 "unsupported architecture: ${dpkgArch}" ; exit 1 ;; \
17
17
esac; \
18
18
\
19
- url="https://static.rust-lang.org/rustup/archive/1.6 .0/${rustArch}/rustup-init" ; \
19
+ url="https://static.rust-lang.org/rustup/archive/1.7 .0/${rustArch}/rustup-init" ; \
20
20
wget "$url" ; \
21
21
echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
22
22
chmod +x rustup-init; \
23
- ./rustup-init -y --no-modify-path --default-toolchain 1.21.0 ; \
23
+ ./rustup-init -y --no-modify-path --default-toolchain 1.22.1 ; \
24
24
rm rustup-init; \
25
25
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
26
26
rustup --version; \
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ 1.7.0
Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ RUN set -eux; \
9
9
# this "case" statement is generated via "update.sh"
10
10
dpkgArch="$(dpkg --print-architecture)" ; \
11
11
case "${dpkgArch##*-}" in \
12
- amd64) rustArch='x86_64-unknown-linux-gnu' ; rustupSha256='f5833a64fd549971be80fa42cffc6c5e7f51c4f443cd46e90e4c17919c24481f ' ;; \
13
- armhf) rustArch='armv7-unknown-linux-gnueabihf' ; rustupSha256='67a98a67f7f7bf19c5cde166499acb8299f2f8fa88c155093df53b66da1f512a ' ;; \
14
- arm64) rustArch='aarch64-unknown-linux-gnu' ; rustupSha256='82fe368c4ebf1683d57e137242793a4417042639aace8bd514601db7d79d3645 ' ;; \
15
- i386) rustArch='i686-unknown-linux-gnu' ; rustupSha256='7a1c085591f6c1305877919f8495c04a1c97546d001d1357a7a879cedea5afbb ' ;; \
12
+ amd64) rustArch='x86_64-unknown-linux-gnu' ; rustupSha256='5a38dbaf7ab2e4335a3dfc42698a5b15e7167c93b0b06fc95f53c1da6379bf1a ' ;; \
13
+ armhf) rustArch='armv7-unknown-linux-gnueabihf' ; rustupSha256='f7ffec8a9cfe3096d535576e79cbd501766fda3769e9ed755cf1f18d7a3ba49c ' ;; \
14
+ arm64) rustArch='aarch64-unknown-linux-gnu' ; rustupSha256='bc513fbd0d221166d3aa612907016d417f8642448d1727c1446876ec9326ab2c ' ;; \
15
+ i386) rustArch='i686-unknown-linux-gnu' ; rustupSha256='82b7ca05ce20e7b8f8dff4a406ef3610d21feb1476fa6fd8959355ac11474ce5 ' ;; \
16
16
*) echo >&2 "unsupported architecture: ${dpkgArch}" ; exit 1 ;; \
17
17
esac; \
18
18
\
19
- url="https://static.rust-lang.org/rustup/archive/1.6 .0/${rustArch}/rustup-init" ; \
19
+ url="https://static.rust-lang.org/rustup/archive/1.7 .0/${rustArch}/rustup-init" ; \
20
20
wget "$url" ; \
21
21
echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
22
22
chmod +x rustup-init; \
23
- ./rustup-init -y --no-modify-path --default-toolchain 1.21.0 ; \
23
+ ./rustup-init -y --no-modify-path --default-toolchain 1.22.1 ; \
24
24
rm rustup-init; \
25
25
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
26
26
rustup --version; \
Original file line number Diff line number Diff line change
1
+ FROM buildpack-deps:jessie
2
+
3
+ ENV RUSTUP_HOME=/usr/local/rustup \
4
+ CARGO_HOME=/usr/local/cargo \
5
+ PATH=/usr/local/cargo/bin:$PATH
6
+
7
+ RUN set -eux; \
8
+ \
9
+ # this "case" statement is generated via "update.sh"
10
+ dpkgArch="$(dpkg --print-architecture)" ; \
11
+ case "${dpkgArch##*-}" in \
12
+ amd64) rustArch='x86_64-unknown-linux-gnu' ; rustupSha256='5a38dbaf7ab2e4335a3dfc42698a5b15e7167c93b0b06fc95f53c1da6379bf1a' ;; \
13
+ armhf) rustArch='armv7-unknown-linux-gnueabihf' ; rustupSha256='f7ffec8a9cfe3096d535576e79cbd501766fda3769e9ed755cf1f18d7a3ba49c' ;; \
14
+ arm64) rustArch='aarch64-unknown-linux-gnu' ; rustupSha256='bc513fbd0d221166d3aa612907016d417f8642448d1727c1446876ec9326ab2c' ;; \
15
+ i386) rustArch='i686-unknown-linux-gnu' ; rustupSha256='82b7ca05ce20e7b8f8dff4a406ef3610d21feb1476fa6fd8959355ac11474ce5' ;; \
16
+ *) echo >&2 "unsupported architecture: ${dpkgArch}" ; exit 1 ;; \
17
+ esac; \
18
+ \
19
+ url="https://static.rust-lang.org/rustup/archive/1.7.0/${rustArch}/rustup-init" ; \
20
+ wget "$url" ; \
21
+ echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
22
+ chmod +x rustup-init; \
23
+ ./rustup-init -y --no-modify-path --default-toolchain 1.23.0-beta.1; \
24
+ rm rustup-init; \
25
+ chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
26
+ rustup --version; \
27
+ cargo --version; \
28
+ rustc --version;
Original file line number Diff line number Diff line change
1
+ # see https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods
2
+
3
+ # bashbrew-arch dpkg-arch rust-arch
4
+ amd64 amd64 x86_64-unknown-linux-gnu
5
+ arm32v7 armhf armv7-unknown-linux-gnueabihf
6
+ arm64v8 arm64 aarch64-unknown-linux-gnu
7
+ i386 i386 i686-unknown-linux-gnu
Original file line number Diff line number Diff line change
1
+ 1.7.0
Original file line number Diff line number Diff line change
1
+ FROM buildpack-deps:stretch
2
+
3
+ ENV RUSTUP_HOME=/usr/local/rustup \
4
+ CARGO_HOME=/usr/local/cargo \
5
+ PATH=/usr/local/cargo/bin:$PATH
6
+
7
+ RUN set -eux; \
8
+ \
9
+ # this "case" statement is generated via "update.sh"
10
+ dpkgArch="$(dpkg --print-architecture)" ; \
11
+ case "${dpkgArch##*-}" in \
12
+ amd64) rustArch='x86_64-unknown-linux-gnu' ; rustupSha256='5a38dbaf7ab2e4335a3dfc42698a5b15e7167c93b0b06fc95f53c1da6379bf1a' ;; \
13
+ armhf) rustArch='armv7-unknown-linux-gnueabihf' ; rustupSha256='f7ffec8a9cfe3096d535576e79cbd501766fda3769e9ed755cf1f18d7a3ba49c' ;; \
14
+ arm64) rustArch='aarch64-unknown-linux-gnu' ; rustupSha256='bc513fbd0d221166d3aa612907016d417f8642448d1727c1446876ec9326ab2c' ;; \
15
+ i386) rustArch='i686-unknown-linux-gnu' ; rustupSha256='82b7ca05ce20e7b8f8dff4a406ef3610d21feb1476fa6fd8959355ac11474ce5' ;; \
16
+ *) echo >&2 "unsupported architecture: ${dpkgArch}" ; exit 1 ;; \
17
+ esac; \
18
+ \
19
+ url="https://static.rust-lang.org/rustup/archive/1.7.0/${rustArch}/rustup-init" ; \
20
+ wget "$url" ; \
21
+ echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
22
+ chmod +x rustup-init; \
23
+ ./rustup-init -y --no-modify-path --default-toolchain 1.23.0-beta.1; \
24
+ rm rustup-init; \
25
+ chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
26
+ rustup --version; \
27
+ cargo --version; \
28
+ rustc --version;
Original file line number Diff line number Diff line change 2
2
set -Eeuo pipefail
3
3
4
4
declare -A aliases=(
5
- [1.21.0]=' 1 1.21 latest'
5
+ [1.22.1]=' 1 1.22 latest stable'
6
+ [1.23.0-beta.1]=' 1.23.0-beta beta'
6
7
)
7
8
8
9
defaultDebianSuite=' stretch'
You can’t perform that action at this time.
0 commit comments