Skip to content

Commit 783aa1e

Browse files
authored
fix: Add --locked flag to cargo install commands (#1045)
fix: Add `--locked` flag to cargo install commands (#1044) * fix: Add flag to cargo install commands * add changelog entry
1 parent 30b1afe commit 783aa1e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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.3.0] - 2024-03-20
814

915
### Added

ubi8-rust-builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ WORKDIR /
2626
# property in operator-templating/repositories.yaml
2727
# hadolint ignore=SC1091
2828
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.76.0 \
29-
&& . "$HOME/.cargo/env" && cargo install [email protected] [email protected]
29+
&& . "$HOME/.cargo/env" && cargo install --locked [email protected] [email protected]
3030

3131
# Build artifacts will be available in /app.
3232
RUN mkdir /app

0 commit comments

Comments
 (0)