jib

🏗 Build container images for your Java applications.

APACHE-2.0 License

Stars
13.6K
Committers
117

Bot releases are hidden (Show)

jib - jib-gradle-plugin v2.7.1

Published by loosebazooka almost 4 years ago

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 - jib-maven-plugin v2.7.1

Published by loosebazooka almost 4 years ago

Major Changes

  • Updated jackson dependency version causing compatibility issues. (#2931)

See CHANGELOG.md for more details.

jib - jib-gradle-plugin v2.7.0

Published by chanseokoh almost 4 years ago

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 - jib-maven-plugin v2.7.0

Published by chanseokoh almost 4 years ago

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 - jib-maven-plugin v2.6.0

Published by loosebazooka about 4 years ago

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 - jib-gradle-plugin v2.6.0

Published by loosebazooka about 4 years ago

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 - jib-core v0.16.0

Published by loosebazooka about 4 years ago

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 - jib-maven-plugin v2.5.2

Published by chanseokoh about 4 years ago

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 - jib-maven-plugin v2.5.1

Published by chanseokoh about 4 years ago

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 - jib-gradle-plugin v2.5.0

Published by chanseokoh about 4 years ago

jib-gradle-plugin

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.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)

See CHANGELOG.md for more details.

jib - jib-maven-plugin v2.5.0

Published by chanseokoh about 4 years ago

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.

jib - jib-core v0.15.0

Published by chanseokoh over 4 years ago

jib-core

Major Changes

  • Now adding the Jib Core dependency transitively exposes the Build Plan API. (#2507)
  • Ports.parse(List<String> ports) now returns a Set(as a HashSet) instead of ImmutableSet (#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 auths section of Docker config (~/.docker/config.json). (#2488)

See CHANGELOG.md for more details.

jib - jib-gradle-plugin v2.4.0

Published by loosebazooka over 4 years ago

jib-gradle-plugin

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 - jib-maven-plugin v2.4.0

Published by loosebazooka over 4 years ago

jib-maven-plugin

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 - jib-core v0.14.0

Published by chanseokoh over 4 years ago

jib-core

Major Changes

  • Fixed the problem not inheriting USER container configuration from a base image. (#2421)
  • Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
  • Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)
  • The following classes in com.google.cloud.tools.jib.api has been moved to com.google.cloud.tools.jib.api.buildplan: AbsoluteUnixPath, RelativeUnixPath, Port, FilePermissions, and ImageFormat. (#2328)
  • LayerConfiguration and LayerEntry are deprecated. Use FileEntriesLayer and FileEntry in com.google.cloud.tools.jib.api.buildplan. (#2334)
  • New public API package hierarchy com.google.cloud.tools.jib.api.buildplan for Container Build Plan Specification and API.
  • ContainerBuildPlan, FileEntriesLayer, FileEntry, and LayerObject in com.google.cloud.tools.jib.api.buildplan as part of the Container Build Plan API. (#2338, #2328)
  • ImageReference#toStringWithTag has been renamed to toStringWithQualifier.
  • ImageReference#isValidTag no longer returns true for digests.
  • ImageReference#isTagDigest has been removed; use #getDigest with Optional#isPresent() to check if an ImageReference uses a digest.
  • ImageReference#withTag has been removed; use withQualifier() instead.
  • ImageReference#isDefaultTag and usesDefaultTag no longer return true for null or empty tags.
  • Multiple additions to ImageReference to separate tag and digest. (#1481)
    • of(registry, repository, tag, digest) to create an image from a tag and digest.
    • isValidDigest(digest) to check if a string is a valid digest.
    • getDigest() to get the digest.
    • parse() now supports image reference strings containing both a tag and a digest.
    • getQualifier() to return the digest, or the tag if no digest is set.
    • withQualifier() to change the image's tag or digest (old behavior of withTag())

See CHANGELOG.md for more details.

jib - jib-gradle-plugin v2.3.0

Published by chanseokoh over 4 years ago

jib-gradle-plugin

Major Changes

  • jib.extraDirectories.paths closure to allow configuring the source and target of an extra directory. (#1581)
  • Fixed the problem not inheriting USER container 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 - jib-maven-plugin v2.3.0

Published by chanseokoh over 4 years ago

jib-maven-plugin

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 USER container 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 - jib-maven-plugin v2.2.0

Published by TadCordle over 4 years ago

jib-maven-plugin

Major Changes

  • Glob pattern support for <extraDirectories><permissions>.
  • Support for image references with both a tag and a digest.
  • The DOCKER_CONFIG environment variable specifying the directory containing docker configs is now checked during credential retrieval.
  • <container><creationTime> now accepts more timezone formats:+HHmm. This allows for easier configuration of creationTime by external systems.

See CHANGELOG.md for more details.

jib - jib-gradle-plugin v2.2.0

Published by TadCordle over 4 years ago

jib-gradle-plugin

Major Changes

  • Glob pattern support for jib.extraDirectories.permissions.
  • Support for image references with both a tag and a digest.
  • The DOCKER_CONFIG environment variable specifying the directory containing docker configs is now checked during credential retrieval.
  • jib.container.creationTime now accepts more timezone formats:+HHmm. This allows for easier configuration of creationTime by external systems.

See CHANGELOG.md for more details.

jib - jib-core v0.13.1

Published by TadCordle over 4 years ago

jib-core

Major Changes

  • Fixed authentication failure with error server did not return 'WWW-Authenticate: Bearer' header in certain cases (for example, on OpenShift).
  • Fixed an issue where using local Docker images (by docker://...) on Windows caused an error.

See CHANGELOG.md for more details.