rust 1.67 was getting stuck on updating crates.io index
This commit is contained in:
parent
3dcea58419
commit
b1bee30e23
20
Dockerfile
20
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" ]
|
||||
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" ]
|
||||
|
|
Loading…
Reference in New Issue