Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-311

OpenShift XP image doubled its size to 2GB compared to 7.3.0.GA 1GB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • OpenShift
    • None
    • Hide
      podman images
      dive --source=podman <image_sha>
      
      Show
      podman images dive --source=podman <image_sha>

      I have started to play with OpenShift XP image docker-registry.upshift.redhat.com/kwills/eap-xp1-openjdk8-openshift-rhel7:EAP7-1484 and I have noticed it is nearly 2GB big. Used to be 0.92 GB for 7.3.0.GA or CD19.
      Also strange is there is much more layers compared to several layers in previous releases

      From dive output it seems every bash command result in own layer. Dive is reporting 624MB of waste space.

      I am setting priority just to major because it is not official image yet. But if this will be the case of official image as well, I will raise priority. In OCP 4 there is no image/layer cache so image must be "downloaded" for each build from registry into pod.

      [1]

      docker-registry.upshift.redhat.com/kwills/eap-xp1-openjdk8-openshift-rhel7:EAP7-1484			1.93 GB
      registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-eap73-openjdk11-openshift-rhel8:latest	920 MB
      registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-tech-preview-eap-cd-openshift-rhel8:19.0-2    921 MB
      

              jmesnil1@redhat.com Jeff Mesnil
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: