Skip to content

Releases: GoogleContainerTools/jib

jib-gradle-plugin v2.7.1

07 Jan 19:36
Compare
Choose a tag to compare

Major Changes

  • Updated jackson dependency version causing compatibility issues. (#2931)
  • Fixed deprecated use of @Optional on boolean attribute (#2930)

See CHANGELOG.md for more details.

jib-cli v0.1.0

12 Jan 17:12
Compare
Choose a tag to compare

Preview release

jib-maven-plugin v2.7.0

07 Dec 17:01
Compare
Choose a tag to compare

Major Changes

  • Added an option <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.
  • Fixed NullPointerException when pulling an OCI base image whose manifest does not have mediaType information. (#2819)
  • Fixed build failure when using a Docker daemon base image (docker://...) that has duplicate layers. (#2829)

See CHANGELOG.md for more details.

jib-gradle-plugin v2.7.0

07 Dec 17:02
Compare
Choose a tag to compare

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) and jib.from.image using Gradle Property and Provider. (#2905)
  • Fixed NullPointerException when pulling an OCI base image whose manifest does not have mediaType information. (#2819)
  • Fixed build failure when using a Docker daemon base image (docker://...) that has duplicate layers. (#2829)

See CHANGELOG.md for more details.

jib-maven-plugin v2.6.0

07 Oct 16:26
Compare
Choose a tag to compare

Major Changes

  • Upgraded the ASM library to 9.0 to resolve an issue when auto-inferring main class in Java 15+. (#2776)
  • (Incubating) Configure multiple platforms (such as architectures) to build multiple images as a bundle and push as a manifest list. (#2523)
  • 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-gradle-plugin v2.6.0

07 Oct 16:24
Compare
Choose a tag to compare

Major Changes

  • Added lazy evaluation for jib.to.image and jib.to.tags using Gradle Property and Provider. (#2727)
  • (Incubating) Configure multiple platforms (such as architectures) to build multiple images as a bundle and push as a manifest list. (#2523)
  • Upgraded the ASM library to 9.0 to resolve an issue when auto-inferring main class in Java 15+. (#2776)
  • 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-core v0.16.0

07 Oct 16:21
Compare
Choose a tag to compare

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.json has 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.keyStore and javax.net.ssl.keyStorePassword system 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

11 Aug 18:29
Compare
Choose a tag to compare

jib-maven-plugin

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>packaged is 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

10 Aug 17:47
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Fixed NullPointerException when <containerizingMode>packaged is 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

07 Aug 19:57
Compare
Choose a tag to compare

jib-maven-plugin

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.keyStore and javax.net.ssl.keyStorePassword system 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 .exe file extension for credential helpers on Windows. (#2527)
  • Fixed NullPointerException when the "auths": section in ~/.docker/config.json has 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>packaged in 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.