fix: Chef cook uses wrong toolchain
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:
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user