Skip to content

Commit

Permalink
Dockerfile patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Aug 30, 2024
1 parent db766ba commit 2c3ba42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN rustup default nightly-2024-08-13 \

# Clone and build the project
WORKDIR /phink

RUN git clone https://github.com/srlabs/phink . \
&& cargo update \
&& cargo build --release
Expand All @@ -38,6 +39,8 @@ RUN cargo afl config --build --plugins --verbose --force
RUN curl https://raw.githubusercontent.com/AFLplusplus/AFLplusplus/stable/afl-system-config > afl-system-config.sh
RUN chmod +x afl-system-config.sh && bash afl-system-config.sh

RUN cp target/release/phink /usr/local/bin/phink

ENTRYPOINT ["phink"]

# Default command: instrument a contract
Expand Down

0 comments on commit 2c3ba42

Please sign in to comment.