Releases: GoogleContainerTools/jib
Releases · GoogleContainerTools/jib
jib-core v0.16.0
Major Changes
- Allow setting platform when building image from scratch. (#2765)
- New system property
jib.skipExistingImages(default = false) to skip pushing images (manifests) if the image already exists in the registry. (#2360) - (Incubating) can now configure multiple platforms (such as architectures) to build multiple images as a bundle and push as a manifest list. (#2523, #1567)
- Upgraded the ASM library to 9.0 to resolve an issue when auto-inferring main class in Java 15+. (#2776)
- Fixed NullPointerException when the "auths": section in
~/.docker/config.jsonhas an entry with no "auth": field. (#2535) - Fixed NullPointerException to return a helpful message when a server does not provide any message in certain error cases (400 Bad Request, 404 Not Found, and 405 Method Not Allowed). (#2532)
- Now supports sending client certificate (for example, via the
javax.net.ssl.keyStoreandjavax.net.ssl.keyStorePasswordsystem properties) and thus enabling mutual TLS authentication. (#2585, #2226) - Fixed NullPointerException during input validation (in Java 9+) when configuring Jib parameters using certain immutable collections (such as List.of()). (#2702)
- Fixed authentication failure with Azure Container Registry when using "tokens". (#2784)
- Improved authentication flow for base image registry. (#2134)
See CHANGELOG.md for more details.
jib-maven-plugin v2.5.2
Major Changes
- Fixed the regression introduced in 2.5.1 that caused Jib to containerize a Spring Boot fat JAR instead of a normal thin JAR when
<containerizingMode>packagedis set and the Spring Boot Maven plugin does not have a<configuration>block. (#2693)
See CHANGELOG.md for more details.
jib-maven-plugin v2.5.1
Major Changes
- Fixed
NullPointerExceptionwhen<containerizingMode>packagedis set and the Spring Boot Maven plugin does not have a<configuration>block. (#2687)
See CHANGELOG.md for more details.
jib-maven-plugin v2.5.0
Major Changes
- Incubating feature: can now configure desired platform (architecture and OS) to select the matching manifest from a Docker manifest list for a base image. Currently supports building only one image. OCI image indices are not supported. (#1567)
<from> <image>... image reference to a manifest list ...</image> <platforms> <platform> <architecture>arm64</architecture> <os>linux</os> </platform> </platforms> </from>
- Now supports sending client certificate (for example, via the
javax.net.ssl.keyStoreandjavax.net.ssl.keyStorePasswordsystem properties) and thus enabling mutual TLS authentication. (#2585, #2226) - Fixed reporting a wrong credential helper name when the helper does not exist on Windows. (#2527)
- Also tries
.exefile extension for credential helpers on Windows. (#2527) - Fixed
NullPointerExceptionwhen the"auths":section in~/.docker/config.jsonhas an entry with no"auth":field. (#2535) - New system property
jib.skipExistingImages(false by default) to skip pushing images (manifests) if the image already exists in the registry. (#2360) - Fixed an issue where Jib cannot infer Kotlin main class that takes no arguments. (#2666)
- Fixed build failure with
<containerizingMode>packagedin Spring Boot projects where Jib assumed a wrong JAR path when<finalName>or<classifier>is configured in Spring Boot. (#2565)
See CHANGELOG.md for more details.
jib-gradle-plugin v2.5.0
Major Changes
- Incubating feature: can now configure desired platform (architecture and OS) to select the matching manifest from a Docker manifest list. Currently supports building only one image. OCI image indices are not supported. (#1567)
jib.from { image = '... image reference to a manifest list ...' platforms { platform { architecture = 'arm64' os = 'linux' } } }
- Now supports sending client certificate (for example, via the
javax.net.ssl.keyStoreandjavax.net.ssl.keyStorePasswordsystem properties) and thus enabling mutual TLS authentication. (#2585, #2226) - Fixed reporting a wrong credential helper name when the helper does not exist on Windows. (#2527)
- Also tries
.exefile extension for credential helpers on Windows. (#2527) - Fixed
NullPointerExceptionwhen the"auths":section in~/.docker/config.jsonhas an entry with no"auth":field. (#2535) - New system property
jib.skipExistingImages(false by default) to skip pushing images (manifests) if the image already exists in the registry. (#2360) - Fixed an issue where Jib cannot infer Kotlin main class that takes no arguments. (#2666)
See CHANGELOG.md for more details.
jib-core v0.15.0
Major Changes
- Now adding the Jib Core dependency transitively exposes the Build Plan API. (#2507)
Ports.parse(List<String> ports)now returns aSet(as aHashSet) instead ofImmutableSet(#2513)- Now sets configured file ownership when creating layer tars. (#2499)
- Previous locally cached application layers will be ignored because of changes to the caching selectors. (#2499)
- Fixed authentication failure with Azure Container Registry when using an identity token defined in the
authssection of Docker config (~/.docker/config.json). (#2488)
See CHANGELOG.md for more details.
jib-maven-plugin v2.4.0
Major Changes
- Jib Extension Framework support. This enables anyone to easily extend and tailor the Jib Maven plugin behavior to their liking. Check out the new Jib Extensions GitHub repository to learn more. (#2401)
- Project dependencies in a multi-module WAR project are now stored in a separate "project dependencies" layer. (#2450)
- Azure Container Registry can use an identity token defined in the auths section of Docker config (~/.docker/config.json). (#2488)
See CHANGELOG.md for more details.
jib-gradle-plugin v2.4.0
Major Changes
- Jib Extension Framework support. This enables anyone to easily extend and tailor the Jib Gradle plugin behavior to their liking. Check out the new Jib Extensions GitHub repository to learn more. (#2401)
- Project dependencies in a multi-module WAR project are now stored in a separate "project dependencies" layer. (#2450)
- Azure Container Registry can use an identity token defined in the auths section of Docker config (~/.docker/config.json). (#2488)
See CHANGELOG.md for more details.
jib-maven-plugin v2.3.0
Major Changes
<from>and<into>fields to<extraDirectories><paths><path>for configuring the source and target of an extra directory. (#1581)- Fixed the problem not inheriting
USERcontainer configuration from a base image. (#2421) - Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
- Fixed an issue inferring a wrong main class or using an invalid main class (for example, Spring Boot project containing multiple main classes). (#2456)
- Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)
See CHANGELOG.md for more details.
jib-gradle-plugin v2.3.0
Major Changes
jib.extraDirectories.pathsclosure to allow configuring the source and target of an extra directory. (#1581)- Fixed the problem not inheriting
USERcontainer configuration from a base image. (#2421) - Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
- Fixed an issue inferring a wrong main class or using an invalid main class (for example, Spring Boot project containing multiple main classes). (#2456)
- Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)
See CHANGELOG.md for more details.