Provide buildpacks as tar or tgz so they can be specified using --buildpack without cloning samples repo
Closed this issue · 0 comments
ciberkleid commented
Since the pack command requires a tar or tgz in order to specify a --buildpack by URL, it would be great if this repo contained the latest sample buildpacks in tar/tgz form. That way one can try out/demo using a sample buildpack without having to clone the repo.
e.g.:
pack set-default-builder gcr.io/paketo-buildpacks/builder:base
pack build my-app --buildpack from=builder --buildpack https://github.com/buildpacks/samples/tree/main/buildpacks/hello-world
Returns:
ERROR: checking format: failed to get next tar entry: archive/tar: invalid tar header
Desired behavior:
Have a tar/tgz releases available online