fix: Chef cook uses wrong toolchain
All checks were successful
Build and deploy / build (push) Successful in 12m58s
Build and deploy / Deploy container (push) Has been skipped

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 4475ba5293
commit 8274067eef

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 . .