jib
jib copied to clipboard
Support for building docker image for Gradle Java application
Gradle's Java application plugin is very powerful plugin and it comes with certain features like debuggability. Its deployment architecture (bin/,lib/,var/ directories) feels like an installed *nix native app with its own java version checks.
https://docs.gradle.org/current/userguide/application_plugin.html
Environment:
- Jib version:3.1.4
- Build tool:Gradle with Kts
- OS:MacOs
Sample log file.
Description of the issue: Gradle application plugin has distZip and install targets and its packaging is slightly different. JIB is not able to detect this and it fails to package properly.
It would be better to provide a working example with gradle application plugin and JIB.
Thank you for submitting this feature request.