S2I image retains artifacts in /tmp/src for JBoss image
Issue
- We see very large images after the
S2I
build in different technologies. As we analyzed them, we saw the source and dependency packages kept in the/tmp/src
directory leading to 2GB extra space obtained by the final image.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.