Compare commits

..

No commits in common. "6bbc89490ae443871aa2a3a10ac4b503cee3157c" and "b0be0f636c2021d23448e4859f4ef8c3c58d2500" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View file

@ -1,14 +1,14 @@
# Leveraging the pre-built Docker images with # Leveraging the pre-built Docker images with
# cargo-chef and the Rust toolchain # cargo-chef and the Rust toolchain
FROM git.kemitix.net/kemitix/git-next-builder:2024.07.05 AS chef FROM git.kemitix.net/kemitix/git-next-builder:latest AS chef
WORKDIR /app WORKDIR /app
FROM chef AS planner FROM chef as planner
COPY Cargo.toml ./ COPY Cargo.toml ./
COPY crates crates COPY crates crates
RUN cargo chef prepare --recipe-path recipe.json RUN cargo chef prepare --recipe-path recipe.json
FROM chef AS builder FROM chef as builder
COPY --from=planner /app/recipe.json recipe.json COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --profile release --recipe-path recipe.json RUN cargo chef cook --profile release --recipe-path recipe.json
COPY . . COPY . .

View file

@ -1,4 +1,4 @@
FROM docker.io/rust:1.79.0-bookworm FROM docker.io/rust:latest
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y clang-16 mold && \ apt-get install -y clang-16 mold && \