From a5a8a89a662d921560fb8c02c1a40dd7f4d23ad2 Mon Sep 17 00:00:00 2001 From: zhangsoledad <787953403@qq.com> Date: Tue, 7 Dec 2021 08:55:23 +0800 Subject: [PATCH] chore: bump rust toolchain from 1.51.0 to 1.56.1 --- bionic/Dockerfile | 6 +++--- centos-7/Dockerfile | 6 +++--- gen-dockerfiles | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bionic/Dockerfile b/bionic/Dockerfile index 1b67cf3..7eb60ce 100644 --- a/bionic/Dockerfile +++ b/bionic/Dockerfile @@ -18,8 +18,8 @@ RUN set -eux; \ ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ PATH=/usr/local/cargo/bin:$PATH \ - RUSTUP_VERSION=1.24.2 \ - RUSTUP_SHA256=6d6d0da8940357eeed733368a6a63fc96e8a1ed1e02fa4c4a60b64b6c66b6057 \ + RUSTUP_VERSION=1.24.3 \ + RUSTUP_SHA256=3dc5ef50861ee18657f9db2eeb7392f9c2a6c95c90ab41e45ab4ca71476b4338 \ RUST_ARCH=x86_64-unknown-linux-gnu RUN set -eux; \ @@ -28,7 +28,7 @@ RUN set -eux; \ echo "${RUSTUP_SHA256} *rustup-init" | sha256sum -c -; \ chmod +x rustup-init -ENV RUST_VERSION=1.51.0 +ENV RUST_VERSION=1.56.1 RUN set -eux; \ ./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION; \ diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile index 4b1fd6b..44692a6 100644 --- a/centos-7/Dockerfile +++ b/centos-7/Dockerfile @@ -11,8 +11,8 @@ RUN set -eux; \ ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ PATH=/usr/local/cargo/bin:$PATH \ - RUSTUP_VERSION=1.24.2 \ - RUSTUP_SHA256=6d6d0da8940357eeed733368a6a63fc96e8a1ed1e02fa4c4a60b64b6c66b6057 \ + RUSTUP_VERSION=1.24.3 \ + RUSTUP_SHA256=3dc5ef50861ee18657f9db2eeb7392f9c2a6c95c90ab41e45ab4ca71476b4338 \ RUST_ARCH=x86_64-unknown-linux-gnu RUN set -eux; \ @@ -21,7 +21,7 @@ RUN set -eux; \ echo "${RUSTUP_SHA256} *rustup-init" | sha256sum -c -; \ chmod +x rustup-init -ENV RUST_VERSION=1.51.0 +ENV RUST_VERSION=1.56.1 RUN set -eux; \ ./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION; \ diff --git a/gen-dockerfiles b/gen-dockerfiles index ac03b06..e5aa0f8 100755 --- a/gen-dockerfiles +++ b/gen-dockerfiles @@ -3,8 +3,8 @@ import os from urllib import request -RUST_VERSION = '1.51.0' -RUSTUP_VERSION = '1.24.2' +RUST_VERSION = '1.56.1' +RUSTUP_VERSION = '1.24.3' RUST_ARCH = 'x86_64-unknown-linux-gnu'