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

Add support for building composite buildpacks #63

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Add support for building composite buildpacks #63

merged 1 commit into from
Nov 18, 2024

Conversation

dmikusa
Copy link
Contributor

@dmikusa dmikusa commented Nov 18, 2024

Summary

This PR resolves #48. It adds the ability for libpak-tools package bundle to build composite buildpacks. It does nothing fancy and is just a wrapper around the similar pack command, but it does help to enforce some default settings so it should be as easy as libpak-tools package bundle --buildpack-id paketo-buildpacks/java to build the composite.

You can then manually adjust package.toml and point to local images, rebuild and get a composite image with custom buildpack changes.

In addition, it fixes a bug where a missing BP_ROOT was ignored, which was confusing. It also does a little refactoring renaming some variables to better indicate intent.

Use Cases

Build composite buildpacks.

This PR resolves #48.

In addition, it fixes a bug where a missing `BP_ROOT` was ignored, which was confusing. It also does a little refactoring renaming some variables to better indicate intent.

Signed-off-by: Daniel Mikusa <[email protected]>
@dmikusa dmikusa added type:enhancement A general enhancement semver:minor A change requiring a minor version bump labels Nov 18, 2024
@dmikusa dmikusa requested a review from a team as a code owner November 18, 2024 16:21
Makefile Show resolved Hide resolved
Copy link
Member

@anthonydahanne anthonydahanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect! all new use cases (composite BP and additional arguments) were tested

@dmikusa dmikusa merged commit 0428e7d into main Nov 18, 2024
6 checks passed
@dmikusa dmikusa deleted the gh-48 branch November 18, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor A change requiring a minor version bump type:enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for building composite images
2 participants