fix: Chef cook uses wrong toolchain
All checks were successful
Build and deploy / build (push) Successful in 10m41s
Build and deploy / Deploy container (push) Successful in 42s

This adds a toolchain setup step to the base image so we do not have to
do it multiple times
This commit is contained in:
2025-11-17 00:51:44 +01:00
parent f9ba81f2b5
commit 37137e8b0a

View File

@@ -3,6 +3,8 @@ ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
RUN cargo install cargo-chef --locked --version 0.1.71 && \
cargo install cargo-auditable --locked --version 0.6.6
WORKDIR /app
COPY ./rust-toolchain.toml .
RUN rustup toolchain install
FROM base AS planner
COPY . .