Bug 1881494 - ose-base:v4.6 has bloated compared to ose-base:v4.5
Summary: ose-base:v4.6 has bloated compared to ose-base:v4.5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 4.6
Hardware: All
OS: All
high
high
Target Milestone: ---
: 4.6.0
Assignee: Yaakov Selkowitz
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-22 14:13 UTC by Scott Dodson
Modified: 2020-09-25 12:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-25 12:33:57 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift images pull 42 0 None open Bug 1881494: base: do not install weak deps 2020-09-22 14:21:44 UTC

Description Scott Dodson 2020-09-22 14:13:13 UTC
Scott Dodson
I came up with an overall increase of ~ 800MiB

yselkowitz
overall including what?

Scott Dodson
on disk size of the mirrored release image via oc adm release mirror
Also as reported by the mirror command

yselkowitz
the main difference in ose-base seems to be that rhel8 bind(-utils) depends on libmaxminddb instead of GeoIP, and in rhel8 the former has a weak dep on very large geolite2 databases (rhel7 doesn't support weak deps, so they probably omitted the equivalent to avoid bloat).  let's see if I can figure out how to skip those

Comment 2 Scott Dodson 2020-09-25 12:33:57 UTC
We trimmed about 50MiB of on disk pre-compression size from this layer by removing weak deps from bind-utils.

Maybe at some point in the future we should do a broader audit of dependencies we can remove now that we've got a completely different base layer but this seems to have fixed the specific issue from the bug description.


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