Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ralexstokes opened this issue May 15, 2024 · 0 comments
Open

Comments

@ralexstokes
Copy link
Owner

RUN cargo chef cook --profile ${BUILD_PROFILE} --features "$FEATURES" --recipe-path recipe.json

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant