Bug 1248305 - python-33-rhel7 image size is doubled
python-33-rhel7 image size is doubled
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image (Show other bugs)
3.0.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Scott Dodson
Gaoyun Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-30 00:47 EDT by Takayoshi Kimura
Modified: 2015-11-23 09:43 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-23 09:43:11 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Takayoshi Kimura 2015-07-30 00:47:19 EDT
The python-33-rhel7 is almost 1GB, the others are < 500MB. Looking at the python image we have large yum cache under /var/cache/yum dir.

We may also want to check php image which is a little bit larger than others.

# docker images
REPOSITORY                                                        TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
registry.access.redhat.com/openshift3/ose-keepalived-ipfailover   latest              d3d665eecd18        4 weeks ago         254.7 MB
registry.access.redhat.com/openshift3/ose-docker-registry         latest              8d589cec84a6        4 weeks ago         312.8 MB
registry.access.redhat.com/openshift3/ose-docker-registry         v3.0.0.1            8d589cec84a6        4 weeks ago         312.8 MB
registry.access.redhat.com/openshift3/ose-pod                     latest              89aebfc51402        4 weeks ago         155.9 MB
registry.access.redhat.com/openshift3/ose-pod                     v3.0.0.1            89aebfc51402        4 weeks ago         155.9 MB
registry.access.redhat.com/openshift3/ose-sti-image-builder       latest              bf0ccb426791        4 weeks ago         455 MB
registry.access.redhat.com/openshift3/ose-sti-builder             latest              22a62f8d0d5f        4 weeks ago         295.5 MB
registry.access.redhat.com/openshift3/ose-sti-builder             v3.0.0.1            22a62f8d0d5f        4 weeks ago         295.5 MB
registry.access.redhat.com/openshift3/ose-docker-builder          latest              7d8432cc1753        4 weeks ago         295.5 MB
registry.access.redhat.com/openshift3/ose-deployer                latest              07a84a0be408        4 weeks ago         295.5 MB
registry.access.redhat.com/openshift3/ose-deployer                v3.0.0.1            07a84a0be408        4 weeks ago         295.5 MB
registry.access.redhat.com/openshift3/ose-haproxy-router          latest              c43c8797d576        4 weeks ago         309.1 MB
registry.access.redhat.com/openshift3/ose-haproxy-router          v3.0.0.1            c43c8797d576        4 weeks ago         309.1 MB
registry.access.redhat.com/openshift3/mysql-55-rhel7              latest              bb8bf2124de9        5 weeks ago         326 MB
registry.access.redhat.com/openshift3/ruby-20-rhel7               latest              1426af0fc516        6 weeks ago         420.4 MB
registry.access.redhat.com/openshift3/mongodb-24-rhel7            latest              114ca2aa4e7d        6 weeks ago         411.1 MB
registry.access.redhat.com/openshift3/postgresql-92-rhel7         latest              72039de9ffde        6 weeks ago         250.7 MB
registry.access.redhat.com/openshift3/python-33-rhel7             latest              23f62abc77f1        6 weeks ago         995 MB
registry.access.redhat.com/openshift3/php-55-rhel7                latest              2b8583f742ac        6 weeks ago         549.6 MB
registry.access.redhat.com/openshift3/perl-516-rhel7              latest              21f6d385fc0f        6 weeks ago         452.5 MB
registry.access.redhat.com/openshift3/nodejs-010-rhel7            latest              66d92cebc0e4        6 weeks ago         404.8 MB
Comment 2 Scott Dodson 2015-07-30 18:20:08 EDT
Thanks, it was indeed missing a yum clean all. I've checked the php image and it's cleaned up properly. There's just 53 packages totally 93MB in that image.
Comment 4 Gaoyun Pei 2015-07-30 22:42:37 EDT
Verify this with latest python-33-rhel7 image


[root@openshift-143 ~]# docker images |grep python-33-rhel7
xxx.xxx.xxx/openshift3/python-33-rhel7                                latest              18a614c1ed41        4 hours ago         408.8 MB

It's 408.8 MB now.

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