paradigmxyz / flood

flood is a load testing tool for benchmarking EVM nodes over RPC
https://github.com/paradigmxyz/flood
Apache License 2.0
316 stars 44 forks source link

Keep the Docker image small #33

Closed AndreMiras closed 1 year ago

AndreMiras commented 1 year ago

Is your feature request related to a problem? Please describe. The docker image is 1.8G, making it lighter would make it easier to publish, refs #23

Describe the solution you'd like We could leverage multi-stage builds.

Describe alternatives you've considered Doing it the old fashion, deleting things as we use them for each layers, but it's harder to deal with.

Additional context Tested in the current main c89740301380e4043ab847d116af86c2c3994032, this is the result of a docker build then a docker images command image