File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
55## [ Unreleased]
66
7+ ### Fixed
8+
9+ - cherry-pick: Add ` --locked ` flag to ` cargo install ` commands for reproducible builds ([ #1044 ] ).
10+
11+ [ #1044 ] : https://github.com/stackabletech/docker-images/pull/1044
12+
713## [ 24.7.0] - 2024-07-23
814
915### Added
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ microdnf clean all
2121rm -rf /var/cache/yum
2222
2323curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
24- . "$HOME/.cargo/env" && cargo install cargo-cyclonedx@"$CARGO_CYCLONEDX_CRATE_VERSION" cargo-auditable@"$CARGO_AUDITABLE_CRATE_VERSION"
24+ . "$HOME/.cargo/env" && cargo install --locked cargo-cyclonedx@"$CARGO_CYCLONEDX_CRATE_VERSION" cargo-auditable@"$CARGO_AUDITABLE_CRATE_VERSION"
2525
2626git clone --depth 1 --branch "${CONFIG_UTILS_VERSION}" https://github.com/stackabletech/config-utils
2727cd ./config-utils
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ WORKDIR /
6767# If you change the toolchain version here, make sure to also change the "rust_version"
6868# property in operator-templating/config/rust.yaml
6969RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUST_DEFAULT_TOOLCHAIN_VERSION \
70- && . "$HOME/.cargo/env" && cargo install cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION
70+ && . "$HOME/.cargo/env" && cargo install --locked cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION
7171
7272# Build artifacts will be available in /app.
7373RUN mkdir /app
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ WORKDIR /
6666# If you change the toolchain version here, make sure to also change the "rust_version"
6767# property in operator-templating/config/rust.yaml
6868RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUST_DEFAULT_TOOLCHAIN_VERSION \
69- && . "$HOME/.cargo/env" && cargo install cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION
69+ && . "$HOME/.cargo/env" && cargo install --locked cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION
7070
7171# Build artifacts will be available in /app.
7272RUN mkdir /app
You can’t perform that action at this time.
0 commit comments