-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yelyzaveta Dymchenko
committed
Dec 16, 2024
1 parent
44a2904
commit cb63636
Showing
6 changed files
with
7,199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,20 @@ COPY /src /operator/src | |
COPY /Cargo.toml /operator/Cargo.toml | ||
COPY /Cargo.lock /operator/Cargo.lock | ||
|
||
WORKDIR /setup-operator | ||
COPY /setup-operator /setup-operator | ||
|
||
WORKDIR /operator | ||
RUN git config --global url."https://github.com/".insteadOf [email protected]: | ||
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release --features bls_signing | ||
|
||
WORKDIR /setup-operator | ||
RUN cargo build --release --bin setup-operator | ||
|
||
FROM debian:bookworm | ||
RUN apt-get update && apt-get install -y --no-install-recommends libssl3 ca-certificates curl netcat-traditional | ||
COPY --from=builder /operator/target/release/cartesi-coprocessor-operator /operator/cartesi-coprocessor-operator | ||
COPY --from=builder /setup-operator/target/release/setup-operator /operator/setup-operator | ||
|
||
ARG TARGETARCH | ||
RUN curl -LO https://github.com/ipfs/kubo/releases/download/v0.30.0/kubo_v0.30.0_linux-$TARGETARCH.tar.gz | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.