forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from flashbots/devnet-script-builder
Optionally run builder services with DEVNET_BUILDER=true
- Loading branch information
Showing
3 changed files
with
58 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Start from the official Golang image | ||
FROM golang:1.21-alpine AS builder | ||
|
||
# Set the working directory inside the container | ||
WORKDIR /app | ||
|
||
RUN apk add --no-cache git \ | ||
&& git clone --depth=1 https://github.com/MariusVanDerWijden/tx-fuzz.git . \ | ||
&& apk del git \ | ||
&& cd cmd/livefuzzer \ | ||
&& go build | ||
|
||
# Create a minimal image to run the binary | ||
FROM alpine:latest | ||
|
||
# Copy the binary from the builder stage | ||
COPY --from=builder /app/cmd/livefuzzer/livefuzzer /app/livefuzzer | ||
|
||
# Set the working directory | ||
WORKDIR /app |
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