Skip to content

Remove APT lists and cache before final export (fixes #80) - #89

Merged
rgaudin merged 1 commit into
offspot:mainfrom
Sriram-Nambiar:issue80_base_image_fix
Nov 24, 2026
Merged

rgaudin merged 1 commit into
offspot:mainfrom
Sriram-Nambiar:issue80_base_image_fix

Conversation

@Sriram-Nambiar

Copy link
Copy Markdown
Contributor

Fixes #80

Adds a late cleanup script (tree/export-image/05-finalise/00-run.sh) to remove APT package lists and binary caches before the image is finalized and unmounted. This reduces root disk usage while preserving the required directories so apt-get update continues to work normally.

@rgaudin
rgaudin self-requested a review November 24, 2026 15:25

@rgaudin rgaudin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@rgaudin
rgaudin merged commit 40c2d9c into offspot:main Nov 24, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

Remove APT lists and cache at end of process

2 participants