Bug 1730356 - Red Hat Container Catalog several rhscl images are entirely too massive since UBI addition
Summary: Red Hat Container Catalog several rhscl images are entirely too massive since...
Status: NEW
Alias: None
Product: Container Factory
Classification: Red Hat
Component: container grading / health
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Brian Cook
QA Contact: Brian Cook
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-16 14:07 UTC by David Johnston
Modified: 2019-07-25 08:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description David Johnston 2019-07-16 14:07:24 UTC
Description of problem:

nodejs and php RHEL 7 images are suddenly massive (over 2.5 GB!)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. docker pull registry.redhat.io/rhscl/nodejs-8-rhel7
2. docker images

Actual results:
Size is 2.58 GB

Expected results:
Size matches size listed on web page < 1 GB

Additional info:
Upon further inspection of the layers it seems that all of the universal base image packages were added, possibly incorrectly?

$ docker images  | grep nodejs
registry.redhat.io/rhscl/nodejs-8-rhel7                                     latest              ec3a72aab683        2 weeks ago         2.58GB

$ docker run -it --rm --user=root ec3a72aab683 bash
bash-4.2# cd /root/buildinfo/
bash-4.2# ls -la
total 24
drwxr-xr-x. 1 root root 4096 Jun 28 17:04 .
dr-xr-x---. 1 root root 4096 Jun 28 14:45 ..
-rw-r--r--. 1 root root 4027 Jun 28 17:03 Dockerfile-rhscl-nodejs-8-rhel7-1-50.1561731179
-rw-r--r--. 1 root root 2181 Jun 28 15:10 Dockerfile-rhscl-s2i-base-rhel7-1-85.1561731037
-rw-r--r--. 1 root root 3855 Jun 28 15:01 Dockerfile-rhscl-s2i-core-rhel7-1-66.1561730862
-rw-r--r--. 1 root root 1882 Jun 28 14:45 Dockerfile-ubi7-7.6-177.1561730841

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