Skip to content

Cleaning up apt cache to optimize disk space #6

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

Closed
wants to merge 3 commits into from
Closed

Cleaning up apt cache to optimize disk space #6

wants to merge 3 commits into from

Conversation

josephpage
Copy link

I tested it and got this :
before : 1.561 GB
after : 1.529 GB
All this 32MB is unnecessary files, as recommended in Debian mkimage :
"delete all the apt list files since they're big and get stale quickly
this forces "apt-get update" in dependent images, which is also good"
https://github.com/docker/docker/blob/master/contrib/mkimage/debootstrap

@yosifkit
Copy link
Member

yosifkit commented Aug 8, 2014

LGTM.
/cc @tianon.

@tianon
Copy link
Member

tianon commented Aug 13, 2014

@yosifkit do we need to manual merge this into our refactor?

@tianon
Copy link
Member

tianon commented Aug 13, 2014

(I'm +1 on the change, for the record; sorry for my delay in reviewing.)

@tianon tianon closed this in #7 Aug 14, 2014
@josephpage josephpage deleted the dockerfile-cleanup branch August 15, 2014 07:18
chrissolanilla pushed a commit to chrissolanilla/CSolanillaBio that referenced this pull request May 16, 2024
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.

3 participants