File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ 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+ ENV RUSTUP_VERSION=1.28.1
1013# This SHOULD be kept in sync with operator-templating and other tools to reduce build times
1114# Find the latest version here: https://doc.rust-lang.org/stable/releases.html
1215# renovate: datasource=github-releases packageName=rust-lang/rust
@@ -77,7 +80,7 @@ WORKDIR /
7780# If you change the toolchain version here, make sure to also change the "rust_version"
7881# property in operator-templating/config/rust.yaml
7982RUN <<EOF
80- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
83+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | RUSTUP_VERSION= "$RUSTUP_VERSION" sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
8184. "$HOME/.cargo/env"
8285cargo install --quiet --locked "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
8386EOF
You can’t perform that action at this time.
0 commit comments