Skip to content
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

Reduce centos7 package size #543

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Conversation

yankay
Copy link
Member

@yankay yankay commented Mar 3, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

Reduce centos7 package size, After Reduced there are 130M in x86.

And only the package not in the ISO would in the os-pkg.

du -sh /centos/7/os/x86_64/*
 ---> Running in 16eabea56baa
188K    /centos/7/os/x86_64/conntrack-tools-1.4.4-7.el7.x86_64.rpm
40K     /centos/7/os/x86_64/container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm
34M     /centos/7/os/x86_64/containerd.io-1.6.18-3.1.el7.x86_64.rpm
13M     /centos/7/os/x86_64/docker-buildx-plugin-0.10.2-1.el7.x86_64.rpm
25M     /centos/7/os/x86_64/docker-ce-19.03.15-3.el7.x86_64.rpm
22M     /centos/7/os/x86_64/docker-ce-20.10.23-3.el7.x86_64.rpm
14M     /centos/7/os/x86_64/docker-ce-cli-23.0.1-1.el7.x86_64.rpm
8.9M    /centos/7/os/x86_64/docker-ce-rootless-extras-23.0.1-1.el7.x86_64.rpm
11M     /centos/7/os/x86_64/docker-compose-plugin-2.16.0-1.el7.x86_64.rpm
3.9M    /centos/7/os/x86_64/docker-scan-plugin-0.23.0-3.el7.x86_64.rpm
56K     /centos/7/os/x86_64/fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm
84K     /centos/7/os/x86_64/fuse3-libs-3.6.1-4.el7.x86_64.rpm
20K     /centos/7/os/x86_64/libnetfilter_cthelper-1.0.0-11.el7.x86_64.rpm
20K     /centos/7/os/x86_64/libnetfilter_cttimeout-1.0.0-7.el7.x86_64.rpm
24K     /centos/7/os/x86_64/libnetfilter_queue-1.0.2-2.el7_2.x86_64.rpm
56K     /centos/7/os/x86_64/repodata
84K     /centos/7/os/x86_64/slirp4netns-0.4.3-4.el7_8.x86_64.rpm

If it works , other OS can use the same method

Which issue(s) this PR fixes:

Fixes #541

Special notes for your reviewer:

@kubean-pr-robot kubean-pr-robot bot added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 3, 2023
@kubean-pr-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yankay

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubean-pr-robot kubean-pr-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 3, 2023
@ErikJiang ErikJiang merged commit 6e0f669 into kubean-io:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Idea] Reduce the os-pkg size
2 participants