-
Notifications
You must be signed in to change notification settings - Fork 0
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 libpak-tools package bundle
command which builds and packages a buildpack
#23
Conversation
… buildpack This command runs the build workflow for libcnb & libpak based buildpacks. It both compiles (`libpak-tools package compile`) and also packages the compiled buildpack into a buildpack image which is loaded into the Docker daemon. It does not presently work for non-libcnb/libpak buildpacks because they have a slightly different build system, and specifically the way that the version number is set differs. This can be worked around, but requires a separate PR to libcnb to update the compilation command and how it handles setting the version number. Signed-off-by: Daniel Mikusa <[email protected]>
Signed-off-by: Daniel Mikusa <[email protected]>
Signed-off-by: Daniel Mikusa <[email protected]>
Rebased. I'm a little unsure about these If you think I should look into this more before we merge, let me know. |
I had a look at these files and I read they're not intended to be checked in? golang/go#51941 (comment) |
Signed-off-by: Daniel Mikusa <[email protected]>
@pivotal-david-osullivan Interesting. OK, removed. If it becomes annoying, we can add them later. |
Co-authored-by: Anthony Dahanne <[email protected]>
Signed-off-by: Daniel Mikusa <[email protected]>
Summary
This command runs the build workflow for libcnb & libpak based buildpacks. It both compiles (
libpak-tools package compile
) and also packages the compiled buildpack into a buildpack image which is loaded into the Docker daemon.It does not presently work for non-libcnb/libpak buildpacks because they have a slightly different build system, and specifically the way that the version number is set differs. This can be worked around, but requires a separate PR to libcnb to update the compilation command and how it handles setting the version number.
This tool is build off libpak v2, but should work with libpak v1 buildpacks as well.
Use Cases
An easy way to compile & package libcnb & libpak buildpacks.
Checklist