Skip to content

Consider adding a hooks for a custom build step #16

Open
@lance

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    lifecycleIssues related to the buildpack lifecycle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions