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

Allow users to include a list of cargo install'd tools that will be available during build #21

Closed
dmikusa opened this issue Mar 25, 2021 · 0 comments · Fixed by #165
Closed
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Mar 25, 2021

You can run cargo install to install any number of crates with useful tools, such as the diesel_cli or other commands that you might want to run at build time or perhaps before your app starts at launch. This is separate from the cargo install that is run to install packages provided by source code.

There should be two environment variables that can configure this behavior: BP_CARGO_INSTALL and BPL_CARGO_INSTALL. The former will install tools that should be available during the build (the cargo cnb & all cnbs after) and the latter will install tools that are available at launch (they will control the layer into which the dependency is installed).

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

Successfully merging a pull request may close this issue.

1 participant