File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ All notable changes to this project will be documented in this file.
7878- trino: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1025 ] ).
7979- zookeeper: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1043 ] ).
8080- Fixed two hardcoded username references ([ #1052 ] ).
81+ - ubi9-rust-builder: Use pinned ` rustup ` version ([ #1121 ] ).
8182
8283### Removed
8384
@@ -133,6 +134,7 @@ All notable changes to this project will be documented in this file.
133134[ #1114 ] : https://github.com/stackabletech/docker-images/pull/1114
134135[ #1116 ] : https://github.com/stackabletech/docker-images/pull/1116
135136[ #1119 ] : https://github.com/stackabletech/docker-images/pull/1119
137+ [ #1121 ] : https://github.com/stackabletech/docker-images/pull/1121
136138
137139## [ 25.3.0] - 2025-03-21
138140
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:e1c4703364c5cb58f5462575
77
88LABEL maintainer="Stackable GmbH"
99
10+ # Pin the rustup version to avoid unexpected breaking changes.
11+ # See https://github.com/rust-lang/rustup/blob/4514d36fcc9c42416176111cd841c86f7ec44b2c/rustup-init.sh#L91
12+ # Find the latest version here: https://github.com/rust-lang/rustup/blob/master/CHANGELOG.md
13+ # renovate: datasource=github-tags packageName=rust-lang/rustup
14+ ENV RUSTUP_VERSION=1.28.1
1015# This SHOULD be kept in sync with operator-templating and other tools to reduce build times
1116# Find the latest version here: https://doc.rust-lang.org/stable/releases.html
1217# renovate: datasource=github-releases packageName=rust-lang/rust
@@ -77,7 +82,7 @@ WORKDIR /
7782# If you change the toolchain version here, make sure to also change the "rust_version"
7883# property in operator-templating/config/rust.yaml
7984RUN <<EOF
80- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
85+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | RUSTUP_VERSION= "$RUSTUP_VERSION" sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
8186. "$HOME/.cargo/env"
8287cargo install --quiet --locked "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
8388EOF
You can’t perform that action at this time.
0 commit comments