Bug 26473 - Need to create minimal mageia image for containerization
Summary: Need to create minimal mageia image for containerization
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://github.com/joequant/bitquant/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 00:54 CEST by Joseph Wang
Modified: 2021-04-10 11:46 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Joseph Wang 2020-04-12 00:54:46 CEST
Description of problem:

The new paradigm of computing involves creating a lot of light weight 
containers.  However, the minimal install for mageia runs at about 200 MB,
whereas a container for Alpine Linux runs at about 20 MB.

The relatively large size of a minimal Mageia container has to do with

1) the current packaging contains a large number of requires from basesystem-minimal and initscripts.  Containers do not use init scripts to start up leading
to a lot of bloat

Suggest converting a lot of "requires" in initscripts and basesystem-minimal to recommends.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. create image with cauldron
2.
3.
Comment 1 Lewis Smith 2020-04-12 09:30:36 CEST
Thank you for the suggestion.
This looks a wide-ranging issue, so assigning it globally; CC tmb for 'basesystem'.

CC: (none) => tmb
Assignee: bugsquad => pkg-bugs

Comment 2 Dave Hodgins 2020-04-12 15:46:17 CEST
This has been discussed in the past in relation to providing virtualbox, docker
and other types of container images.

Providing tools to allow people to easily create their own container images is
fine.

While individuals are free to distribute Mageia based images, they must not be
distributed as officially Mageia supported images.

Otherwise every image must be rebuilt and retested every time any one of the
packages contained in those images is updated. That would have an impact on the
security and qa teams as the number and/or types of images increases, which we
don't have the capacity to handle.

CC: (none) => davidwhodgins

Comment 3 Thomas Backlund 2020-04-12 15:52:28 CEST
We (or actually ngompa) will create a basesystem-containers subpackage that will try to address the deps needed for containers so we wont break basesystem-minimal

As for converting requires to recommends, then for most cases that is a NO-GO as it will be way too easy for endusers to break their systems if they can remove a package that is only recommended.

Of course the deps can be reviewed, but we will be very strict about what we will allow
AL13N 2021-04-10 11:46:10 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=28756


Note You need to log in before you can comment on or make changes to this bug.