-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,15 @@ RUN cargo install [email protected] | |
FROM chef AS planner | ||
|
||
COPY . /build/ | ||
RUN cargo +nightly-2025-01-15 chef prepare --recipe-path recipe.json | ||
RUN cargo +nightly-2025-01-20 chef prepare --recipe-path recipe.json | ||
|
||
FROM chef AS builder | ||
|
||
COPY --from=planner /build/recipe.json recipe.json | ||
RUN cargo +nightly-2025-01-15 chef cook --release --zigbuild --target $(cat /.platform) --recipe-path recipe.json | ||
RUN cargo +nightly-2025-01-20 chef cook --release --zigbuild --target $(cat /.platform) --recipe-path recipe.json | ||
|
||
COPY . /build/ | ||
RUN cargo +nightly-2025-01-15 zigbuild -p mirrord -p mirrord-layer -Z bindeps --target $(cat /.platform) --release --locked | ||
RUN cargo +nightly-2025-01-20 zigbuild -p mirrord -p mirrord-layer -Z bindeps --target $(cat /.platform) --release --locked | ||
RUN cp /build/target/$(cat /.platform)/release/mirrord /mirrord | ||
RUN cp /build/target/$(cat /.platform)/release/libmirrord_layer.so /libmirrord_layer.so | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[toolchain] | ||
channel = "nightly-2025-01-15" | ||
channel = "nightly-2025-01-20" | ||
components = [ "rustfmt", "clippy", "rustc" ] | ||
profile = "minimal" |