rust 1.67 was getting stuck on updating crates.io index

This commit is contained in:
minish 2023-06-10 05:07:03 +00:00 committed by minish
parent 3dcea58419
commit b1bee30e23
1 changed files with 10 additions and 10 deletions

View File

@ -1,10 +1,10 @@
FROM rust:1.67.0 as builder FROM rust:1.70 as builder
WORKDIR /usr/src/breeze WORKDIR /usr/src/breeze
COPY . . COPY . .
RUN [ "cargo", "install", "--path", "." ] RUN [ "cargo", "install", "--path", "." ]
FROM debian:bullseye-slim FROM debian:bullseye-slim
COPY --from=builder /usr/local/cargo/bin/breeze /usr/local/bin/breeze COPY --from=builder /usr/local/cargo/bin/breeze /usr/local/bin/breeze
CMD [ "breeze" ] CMD [ "breeze" ]