File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y gcc libclang-dev
24
24
RUN rustup target add x86_64-unknown-linux-gnu
25
25
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu
26
26
27
- RUN cargo chef cook --release --target x86_64-unknown-linux-gnu --recipe-path recipe.json --bin zenith-builder-example
27
+ RUN --mount=type=ssh cargo chef cook --release --target x86_64-unknown-linux-gnu --recipe-path recipe.json --bin zenith-builder-example
28
28
COPY --exclude=target . .
29
29
30
- RUN cargo build --release --target x86_64-unknown-linux-gnu --bin zenith-builder-example
30
+ RUN --mount=type=ssh cargo build --release --target x86_64-unknown-linux-gnu --bin zenith-builder-example
31
31
32
32
# Stage 3: Final image for running in the env
33
33
FROM --platform=$TARGETPLATFORM debian:bookworm-slim
You can’t perform that action at this time.
0 commit comments