3 ms·
Note that not all packages are created equal. The vast majority of base packages are a few kilobytes each. The space on a minimal system (e.g. Ubuntu core) is b
by derefr 12y ago
Note that not all packages are created equal. The vast majority of base packages are a few kilobytes each. The space on a minimal system (e.g. Ubuntu core) is by far taken up by just a few packages: locales, charmaps, and tzdata. (You might also count the kernel, initramfs, etc. if you’re trying to create something like a Docker base-image.)
Speaking of Docker base-images, I really wish Emdebian Baked (http://www.emdebian.org/baked/index.html http://www.emdebian.org/baked/index.html) was still an active project. There’s no reason “finalized” read-only cloud images should have apt installed at all—and therefore no need for any of apt’s dependencies (of which there are shockingly many), or any of the metadata each package comes with to appease apt.
- justincormack 12y agoTo avoid all the locales and stuff, use Musl libc. Alpine Linux is an option that supports it. Redhat's Project Atomic can bake in RPMs using ostree.