Skip to content

Weird SBOM generation of minified images #105

Answered by kcq
PinkSheep asked this question in Q&A
Discussion options

You must be logged in to vote

Normally /var/lib/dpkg/status would be removed.

The only default case when it wouldn't removed is when the containers are designed to install debian packages at runtime. Some containers have entrypoints that bootstrap the container with extra components (installing additional packages, downloading new data files, etc). By default, Mint/DockerSlim will keep newly created files. If you install a new package in the entrypoint container logic everything in the install package flow will be kept as well. The --include-new flag controls this behavior. If you set it to false then anything that's not already in the container when it starts will not be kept.

Another possible way to explain /var/lib…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PinkSheep
Comment options

@kyubisation
Comment options

Answer selected by PinkSheep
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