File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ 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 --mount=type=ssh 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 --recipe-path recipe.json --bin zenith-builder-example
28
28
COPY --exclude=target . .
29
29
30
- RUN --mount=type=ssh cargo build --release --target x86_64-unknown-linux-gnu -- bin zenith-builder-example
30
+ RUN --mount=type=ssh cargo build --release --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
34
34
RUN apt-get update && apt-get -y upgrade && apt-get install -y libssl-dev ca-certificates
35
35
36
- COPY --from=builder /app/target/x86_64-unknown-linux-gnu/ release/zenith-builder-example /usr/local/bin/zenith-builder-example
36
+ COPY --from=builder /app/target/release/zenith-builder-example /usr/local/bin/zenith-builder-example
37
37
38
38
ENTRYPOINT [ "/usr/local/bin/zenith-builder-example" ]
Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ 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 --mount=type=ssh cargo chef cook --release --target x86_64-unknown-linux-gnu -- recipe-path recipe.json --bin transaction-submitter
27
+ RUN --mount=type=ssh cargo chef cook --release --recipe-path recipe.json --bin transaction-submitter
28
28
COPY --exclude=target . .
29
29
30
- RUN --mount=type=ssh cargo build --release --target x86_64-unknown-linux-gnu -- bin transaction-submitter
30
+ RUN --mount=type=ssh cargo build --release --bin transaction-submitter
31
31
32
32
# Stage 3: Final image for running in the env
33
33
FROM --platform=$TARGETPLATFORM debian:bookworm-slim
34
34
RUN apt-get update && apt-get -y upgrade && apt-get install -y libssl-dev ca-certificates
35
35
36
- COPY --from=builder /app/target/x86_64-unknown-linux-gnu/ release/transaction-submitter /usr/local/bin/transaction-submitter
36
+ COPY --from=builder /app/target/release/transaction-submitter /usr/local/bin/transaction-submitter
37
37
38
38
ENTRYPOINT [ "/usr/local/bin/transaction-submitter" ]
You can’t perform that action at this time.
0 commit comments