Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/emulate_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Available commands:
- build
- -t : Image tag (optional, default: "flashbots/builder:dev")
- -d : Image Build directory (optional, default: "..")
- -f : Build dockerfile path (optional, default: "./Dockerfile.debug")
- -f : Build dockerfile path (optional, default: ../Dockerfile"), use "./Dockerfile.debug" for debug capabilities)
- run
- -t : Image tag (optional, default: "flashbots/builder:dev")
- -n : Enclave name (optional, default: "explorer")
Expand Down Expand Up @@ -435,7 +435,7 @@ func main() {
switch os.Args[1] {
case "build":
buildDir := flagSet.String("d", "..", "Build directory.")
buildDockerfilePath := flagSet.String("f", "./Dockerfile.debug", "Build dockerfile path.")
buildDockerfilePath := flagSet.String("f", "../Dockerfile", "Build dockerfile path. Use \"./Dockerfile.debug\" for debug capabilities")
flagSet.Parse(os.Args[2:])
build(*imageTag, *buildDir, *buildDockerfilePath)
case "run":
Expand Down
13 changes: 9 additions & 4 deletions scripts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@ To run script `cd` into this (`./scripts`) folder.
1. **build**:
- Purpose: Builds a Docker image of the builder.
- Options:
- `-t`: (Optional) Image tag for the Docker build. Defaults to `flashbots/builder:dev`.
- `-t`: (Optional) Image tag for the Docker build. Defaults to `flashbots/builder:dev`.
- `-d` (Optional) Image Build directory. Defaults to `".."`
- `-f` (Optional) Build dockerfile path. Defaults to `"../Dockerfile"`. Use `"./Dockerfile.debug"` for debug capabilities.

- Example:
```
go run emulate_network.go build -t=test-builder
```
```
go run emulate_network.go build -t=test-builder -f="../Dockerfile" -d=".."
```



2. **run**:
- Purpose: Prepares configurations and starts a Kurtosis enclave.
Expand Down