Skip to content

Commit

Permalink
Update Dockerfile (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAWM authored Oct 3, 2023
1 parent 3e903ea commit 47b26fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ RUN cargo build --release
RUN cp target/release/ityfuzz /bins/cli_offchain

# build onchain binary
RUN sed -i -e 's/"cmp"/"cmp","flashloan_v2"/g' ../Cargo.toml
RUN sed -i -e 's/"cmp"/"cmp","flashloan_v2"/g' ./Cargo.toml
RUN cargo build --release
RUN cp target/release/ityfuzz /bins/cli_onchain

RUN sed -i -e 's/"deployer_is_attacker"/"print_logs"/g' ../Cargo.toml
RUN sed -i -e 's/"print_txn_corpus",//g' ../Cargo.toml
RUN sed -i -e 's/"full_trace",//g' ../Cargo.toml
RUN sed -i -e 's/"deployer_is_attacker"/"print_logs"/g' ./Cargo.toml
RUN sed -i -e 's/"print_txn_corpus",//g' ./Cargo.toml
RUN sed -i -e 's/"full_trace",//g' ./Cargo.toml
RUN cargo build --release
RUN cp target/release/ityfuzz /bins/cli_print_logs

Expand Down

0 comments on commit 47b26fc

Please sign in to comment.