From b1bee30e23426ca20e45ce9f4deea415613c5aa6 Mon Sep 17 00:00:00 2001 From: minish Date: Sat, 10 Jun 2023 05:07:03 +0000 Subject: [PATCH] rust 1.67 was getting stuck on updating crates.io index --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2fa3761..77c12ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM rust:1.67.0 as builder - -WORKDIR /usr/src/breeze -COPY . . -RUN [ "cargo", "install", "--path", "." ] - -FROM debian:bullseye-slim -COPY --from=builder /usr/local/cargo/bin/breeze /usr/local/bin/breeze - -CMD [ "breeze" ] \ No newline at end of file +FROM rust:1.70 as builder + +WORKDIR /usr/src/breeze +COPY . . +RUN [ "cargo", "install", "--path", "." ] + +FROM debian:bullseye-slim +COPY --from=builder /usr/local/cargo/bin/breeze /usr/local/bin/breeze + +CMD [ "breeze" ]