File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,11 @@ All notable changes to this project will be documented in this file.
15
15
### Fixed
16
16
17
17
- spark-k8s: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1042 ] ).
18
+ - Add ` --locked ` flag to ` cargo install ` commands for reproducible builds ([ #1044 ] ).
18
19
19
20
[ #1034 ] : https://github.com/stackabletech/docker-images/pull/1034
20
21
[ #1042 ] : https://github.com/stackabletech/docker-images/pull/1042
22
+ [ #1044 ] : https://github.com/stackabletech/docker-images/pull/1044
21
23
22
24
## [ 25.3.0] - 2025-03-21
23
25
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ rm -rf /var/cache/yum
36
36
37
37
# WARNING (@NickLarsenNZ): We should pin the rustup version
38
38
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
39
- . "$HOME/.cargo/env" && cargo --quiet install cargo-cyclonedx@"$CARGO_CYCLONEDX_CRATE_VERSION" cargo-auditable@"$CARGO_AUDITABLE_CRATE_VERSION"
39
+ . "$HOME/.cargo/env" && cargo --quiet install --locked cargo-cyclonedx@"$CARGO_CYCLONEDX_CRATE_VERSION" cargo-auditable@"$CARGO_AUDITABLE_CRATE_VERSION"
40
40
EOF
41
41
42
42
FROM product-utils-builder AS config-utils
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ WORKDIR /
80
80
RUN <<EOF
81
81
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
82
82
. "$HOME/.cargo/env"
83
- cargo --quiet install "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
83
+ cargo --quiet install --locked "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
84
84
EOF
85
85
86
86
# Build artifacts will be available in /app.
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ WORKDIR /
79
79
RUN <<EOF
80
80
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_DEFAULT_TOOLCHAIN_VERSION"
81
81
. "$HOME/.cargo/env"
82
- cargo install --quiet "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
82
+ cargo install --quiet --locked "cargo-cyclonedx@$CARGO_CYCLONEDX_CRATE_VERSION" "cargo-auditable@$CARGO_AUDITABLE_CRATE_VERSION"
83
83
EOF
84
84
85
85
# Build artifacts will be available in /app.
You can’t perform that action at this time.
0 commit comments