Discuss further entries in essential which might instead be minimal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was comparing and analyzing a recent docker image for more things we could maybe drop to be more minimal.
I found a few which are in platform.
Not sure what the best practice is here to minimize the container images - put it to minimal as recommends and then remove it in livecd-rootfs? Anyway that would be up to you, the discussion first ...
#1 e2fsprogs
For a cloud image and anything bootable with disks - absolutely.
But for a container which by definition already comes on its FS without disk access.
I think this could be dropped.
#2 diffutils
There is no call to diff other than the references from its own docu and bzdiff/zdiff, ...
Now while we need bzip2/gunzip and such, we don't need bzdiff/zdiff.
Should that be split and removed along with diffutils?
#3 dash
The comment says "Much faster default shell" whicih is right, but bash+dash in essential.
Again probably ok for cloud-images and everything bigger, but for minimal container images one should do - which of them I don't know.
I just was curious on those three after checking the image if they might be removable.
(Triggered by danwest asking about images sizes)
#1 The problem with e2fsprogs - it does not include only tools for managing ext* filesystems, it also includes chattr and lsattr.
#3 We can't switch back from dash to bash, as we clearly have some dashims in various scripts that don't work in bash; and to get rid of bash, you'd have to remove scripts explicitly using it.