Usage of S2I_DELETE_SOURCE on Source to Image build with OpenJDK images
Issue
-
How to clean the
/tmp/srcand the spare jar on S2I process using OpenJDK builder images? -
The S2I builds using OpenJDK builder images cleans-up/remove the
/tmp/srcdirectory. -
How to preserve the source and its associated Java dependencies while performing S2I builds using OpenJDK builder images?
Environment
- OpenJDK 8, 11, 17, 21
- Red hat OpenShift Container Platform (OCP)
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.