Skip to content

Commit

Permalink
Fix for QUIC issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Boppy committed Aug 11, 2023
1 parent c5e9b6f commit ccfb8f7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions crates/standalone/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
ARG CARGO_PROFILE=release

FROM rust:1.70 AS chef
RUN rust_target=$(rustc -vV | awk '/^host:/{ print $2 }') && \
curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-$rust_target.tgz -fL | tar xz -C $CARGO_HOME/bin
RUN cargo binstall -y cargo-chef@0.1.62
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN cargo install cargo-chef@0.1.56
WORKDIR /usr/src/app

FROM chef AS planner
Expand All @@ -14,8 +13,8 @@ FROM chef AS builder

RUN apt-get update && apt-get install -y protobuf-compiler

RUN cargo binstall -y cargo-watch@8.4.0
RUN cargo binstall -y flamegraph@0.6.2
RUN cargo install cargo-watch@8.4.0
RUN cargo install flamegraph@0.6.2

COPY --from=planner /usr/src/app/recipe.json .

Expand Down

0 comments on commit ccfb8f7

Please sign in to comment.