Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
[package]
name = "recert"
# The rust-version field is an optional key that tells cargo what version of the Rust toolchain you support for your package (https://doc.rust-lang.org/cargo/reference/rust-version.html)
# This is important for a few reasons:
# 1. It affects the output of cargo lockfiles
# - https://github.com/rust-lang/cargo/pull/12861
# - https://github.com/rust-lang/cargo/issues/13503
# 2. It affects what runtime version the compiled code is compatible with
# This version should match what is available and used in the production runtime container (.konflux/Dockerfile)
rust-version = "1.75"
Comment thread
omertuc marked this conversation as resolved.
version = "0.1.0"
edition = "2021"

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM rust:1 AS chef
# The rust version is pinned to prevent unexpected breakages due to rust changes.
FROM rust:1.87 AS chef
RUN cargo install cargo-chef
WORKDIR /app

Expand Down