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

Save about 14MB of image size #170

Open
aleksey-mashanov opened this issue Mar 10, 2020 · 0 comments
Open

Save about 14MB of image size #170

aleksey-mashanov opened this issue Mar 10, 2020 · 0 comments

Comments

@aleksey-mashanov
Copy link

Running rpm --rebuilddb before generating tar archive will save about 14MB of image size.

$ docker run -it --rm centos:7
[root@97deac1d468c /]# du -hs /var/lib/rpm
22M	/var/lib/rpm
[root@97deac1d468c /]# rpm --rebuilddb
[root@97deac1d468c /]# du -hs /var/lib/rpm
8.4M	/var/lib/rpm

The same issue in the images repo: CentOS/sig-cloud-instance-images#155

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