CNG: Some UBI images excessively large due to chown/chmod
Summary
I was glancing at images I had locally (docker images
) and noticed a slight surprise. The size of the UBI containers
image | ubi size | debian size |
---|---|---|
gitlab-webservice-ee | 2.76 GB | 1.48 GB |
gitlab-workhorse-ee | 1.61 GB | 672 MB |
gitlab-sidekiq-ee | 2.77 GB | 1.50 GB |
gitaly | 925 MB | 839 MB |
gitlab-shell | 585 MB | 917 MB |
Details
We should look into the images to ensure that the contents are appropriate condensed, and we're not duplicating contents through assets, somehow.
Do we have excess in some layer(s)? Have I pulled inappropriate tags?
Relevant logs
gitlab-webservice-ee:master-ubi8
gitlab-workhorse-ee:master-ubi8
gitaly:master-ubi8
Edited by Jason Plum