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

Feat: make stacker-bom discover implicit #622

Open
mikemccracken opened this issue May 17, 2024 · 0 comments
Open

Feat: make stacker-bom discover implicit #622

mikemccracken opened this issue May 17, 2024 · 0 comments

Comments

@mikemccracken
Copy link
Contributor

Is your feature request related to a problem? Please describe.

needing to change the run section of stacker-bom discover and be careful about timing when it is run and when things are cleaned up that it might require is more work for the stackerfile author than it needs to be.

As I understand it, the intent is to allow removing any package manager data from the final image for size/etc purposes, but because the bom discover step needs that data, we need to run the discovery before removing the data.

Describe the solution you'd like

it would be nice if adding bom generation to a stackerfile only meant adding a bom: section and did not require changes to the run section.

What ought to work is to say that if bom.generate is true, then stacker will do the bom discover step after the run section is done, and then we can add a flag to the bom section to control whether or not the package manager data gets cleaned up. By default it won't, to allow derived images to install packages.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant