You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN wget -q -O- https://github.com/LukeMathWalker/cargo-chef/releases/download/v0.1.62/cargo-chef-x86_64-unknown-linux-gnu.tar.gz | tar -zx -C /usr/local/bin
2
+
FROM lukemathwalker/cargo-chef:0.1.62-rust-1.73.0 as chef
4
3
WORKDIR /app
5
4
6
5
FROM chef AS planner
@@ -10,12 +9,13 @@ RUN cargo chef prepare --recipe-path recipe.json
10
9
FROM chef AS builder
11
10
COPY --from=planner /app/recipe.json recipe.json
12
11
# Build dependencies - this is the caching Docker layer!
13
-
RUN RUSTFLAGS='-C target-feature=+crt-static' cargo chef cook --release --package interop-tests --target x86_64-unknown-linux-gnu --bin native_ping --recipe-path recipe.json
0 commit comments