Skip to content

Adding extra packages (slices) to Ubuntu chiseled images #5012

Answered by lbussell
Daniel15 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Daniel15, we are currently working out what this documentation looks like. Ubuntu has created a recommended pattern here. We haven't recommended that pattern yet because it doesn't update the dpkg cache file, meaning that vulnerability scanning tools will give inaccurate results for your image.

However, a workaround to merge dpkg status files between layers is documented in this comment in the Ubuntu repo. We haven't tested it out yet, but if the dpkg status merging maintains the correct image scanning functionality I would recommend that approach. I'll be looking at this soon and working on some official documentation if necessary. You can track this in #4811.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Daniel15
Comment options

Answer selected by Daniel15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants