ralexstokes / mev-rs

a gateway to a network of block builders
Other
418 stars 77 forks source link

Extend Dockerfile with `no-default-features` if features are provided #266

Open ralexstokes opened 5 months ago

ralexstokes commented 5 months ago

https://github.com/ralexstokes/mev-rs/blob/f17cb87e2dbfbb011eef1177575f92b5f2cee554/Dockerfile#L19

The intent of this feature flag is to allow a user to partition which component they want, e.g. --features boost, but without the --no-default-features flag, the full suite is built.

This has a bit of a strange interplay if the user also wants other features, e.g. minimal-preset so this may require revisiting the component partitioning strategy.