OpenLiberty / devfile-stack

Application stack for Open Liberty
Apache License 2.0
10 stars 8 forks source link

Stack image size largely dependent on OpenJDK -ubi base image plus `yum upgrade...` ... anything we can do? #141

Closed scottkurz closed 2 years ago

scottkurz commented 3 years ago

The docker history command shows the diff btw. 0.4.0 and 0.4.1 stack image is largely the very second layer, the one we do by calling: RUN yum upgrade --disableplugin=subscription-manager -y \ && yum clean --disableplugin=subscription-manager packages \ && echo 'Finished installing dependencies'

That layer was 237MB in the 0.4.0 image.. down to 15MB in 0.4.1... If I re-pull the openjdk ubi image and rebuild locally I see that layer as 33 mB.

What's going on? Anything we can do here?

scottkurz commented 2 years ago

Doesn't seem clear or necessarily relevant. Closing