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

Consider adding a hooks for a custom build step #16

Open
lance opened this issue Aug 21, 2020 · 0 comments
Open

Consider adding a hooks for a custom build step #16

lance opened this issue Aug 21, 2020 · 0 comments
Labels
lifecycle Issues related to the buildpack lifecycle

Comments

@lance
Copy link
Member

lance commented Aug 21, 2020

The Google Cloud Functions runtime has capabilities for custom build steps by providing a hook via a gcp-build task in package.json. According to the documentation,

When this script is executed, the dependencies in the dependencies and devDependencies fields of your package.json file are available. After executing your custom build step, Cloud Functions removes and regenerates the node_modules folder by only installing the production dependencies declared in the dependencies field of your package.json file.

This might be a nice feature to add to our buildpacks. I'm not sure how exactly this would work for go and quarkus. @lkingland @matejvasek any thoughts?

@lance lance added the lifecycle Issues related to the buildpack lifecycle label Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle Issues related to the buildpack lifecycle
Projects
None yet
Development

No branches or pull requests

1 participant