Smaller Container Base Image (remove sssd-client, util-linux, shadow-utils)
Summary
This change proposes to remove 3 packages (sssd-client, util-linux, shadow-utils) from the Container Base Image (including the minimal image). The Fedora Base Image is still quite large compared to other distributions and the tools offered by these packages are not essential in base image.
Owner
- Name: Clément Verna
- Email: <cverna-at-fedoraproject.org>
Current status
- Targeted release: Fedora Linux 35
- Last updated: 2021-04-01
- FESCo issue: <will be assigned by the Wrangler>
- Tracker bug: <will be assigned by the Wrangler>
- Release notes tracker: <will be assigned by the Wrangler>
Detailed Description
This is a proposal to make the Fedora Container Base image smaller by remove the following 3 packages:
- sssd-client
- util-linux
- shadow-utils
Current size of the base image and minimal base image :
REPOSITORY | TAG | IMAGE ID | CREATED | SIZE |
---|---|---|---|---|
registry.fedoraproject.org/fedora | 34 | eede0db319cc | 2 days ago | 187 MB |
registry.fedoraproject.org/fedora-minimal | 34 | 4ff120184ee4 | 2 days ago | 122 MB |
The installed size of each package is :
Package | Installed Size |
---|---|
util-linux | 13018140 |
shadow-utils | 3876259 |
sssd-client | 317948 |
Removing these packages would allow to gain around 17MB in both images.
Each of these packages provides useful tools but the main goal of the base image is for building layered images. Each of these packages can easily be added in a layered image if needed.
More info and discussion happened for each package in the Container SIG tracker
sssd-client : https://pagure.io/ContainerSIG/container-sig/issue/44
util-linux : https://pagure.io/ContainerSIG/container-sig/issue/45
shadow-utils : https://pagure.io/ContainerSIG/container-sig/issue/46