Bug 1248305 - python-33-rhel7 image size is doubled
Summary: python-33-rhel7 image size is doubled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-30 04:47 UTC by Takayoshi Kimura
Modified: 2015-11-23 14:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 14:43:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Takayoshi Kimura 2015-07-30 04:47:19 UTC
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 22:20:08 UTC
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-31 02:42:37 UTC
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.