Major Changes
- Added an option
jib.container.expandClasspathDependencies
to preserve the order of loading dependencies as configured in a project. The option enumerates dependency JARs instead of using a wildcard (/app/libs/*
) in the Java runtime classpath for an image entrypoint. (#1871, #1907, #2228, #2733)- The option is also useful for AppCDS. (#2471)
- Turning on the option may result in a very long classpath string, and the OS may not support passing such a long string to JVM.
- Added lazy evaluation for
jib.(to|from).auth.(username|password)
andjib.from.image
using Gradle Property and Provider. (#2905) - Fixed
NullPointerException
when pulling an OCI base image whose manifest does not havemediaType
information. (#2819) - Fixed build failure when using a Docker daemon base image (
docker://...
) that has duplicate layers. (#2829)
See CHANGELOG.md for more details.