paketo-buildpacks / libpak

An opinionated extension to the libcnb Cloud Native Buildpack Library
Apache License 2.0
15 stars 17 forks source link

Add create-package flag so that it outputs a single arch #330

Closed dmikusa closed 4 months ago

dmikusa commented 4 months ago

Describe the Enhancement

Add a flag to create-package that takes in the expected target and then output the buildpack format for a single arch (i.e. older format). In addition, filter the metadata dependencies and only include those for the specified arch.

Motivation

Not every user will want to build multi-arch images.