Skip to content

Releases: GoogleContainerTools/jib

jib-maven-plugin v1.6.1

16 Sep 16:15
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Fixed an issue with using custom base images in Java 12+ projects

See CHANGELOG.md for more details.

jib-gradle-plugin v1.6.1

16 Sep 16:13
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Fixed an issue with using custom base images in Java 12+ projects

See CHANGELOG.md for more details.

jib-maven-plugin v1.6.0

13 Sep 19:18
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Added support for local base images by prefixing <from><image> with docker:// to build from a docker daemon image, or tar:// to build from a tarball image
  • System property jibSerialize has been changed to jib.serialize
  • For retrieving credentials from Docker config (~/.docker/config.json), credHelpers now takes precedence over credsStore, followed by auths
  • The legacy credsStore no longer requires defining empty registry entries in auths to be used. This now means that if credsStore is defined, auths will be completely ignored
  • <dockerClient> is now configurable on all goals, not just jib:dockerBuild
  • Fixed the regression of slow network operations introduced at 1.5.0
  • Fixed an issue where connection timeout sometimes fell back to attempting plain HTTP (non-HTTPS) requests when <allowInsecureRegistries> is set

See CHANGELOG.md for more details.

jib-gradle-plugin v1.6.0

13 Sep 18:10
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Added support for local base images by prefixing jib.from.image with docker:// to build from a docker daemon image, or tar:// to build from a tarball image
  • System property jibSerialize has been changed to jib.serialize
  • For retrieving credentials from Docker config (~/.docker/config.json), credHelpers now takes precedence over credsStore, followed by auths
  • The legacy credsStore no longer requires defining empty registry entries in auths to be used. This now means that if credsStore is defined, auths will be completely ignored
  • jib.dockerClient is now configurable on all tasks, not just jibDockerBuild
  • jibDockerBuild.dockerClient is deprecated in favor of jib.dockerClient
  • Fixed the regression of slow network operations introduced at 1.5.0
  • Fixed an issue where connection timeout sometimes fell back to attempting plain HTTP (non-HTTPS) requests when allowInsecureRegistries is set

See CHANGELOG.md for more details.

jib-core v0.11.0

13 Sep 18:31
Compare
Choose a tag to compare

jib-core

Major Changes

  • Jib#from and JavaContainerBuilder#from overloads to allow using a DockerDaemonImage or a TarImage as the base image
  • Jib#from(String) accepts strings prefixed with docker://, tar://, or registry:// to specify image type
  • System property jibSerialize has been changed to jib.serialize
  • TarImage is constructed using TarImage.at(...).named(...) instead of TarImage.named(...).saveTo(...)
  • Fixed an issue interacting with certain registries due to changes to URL handling in the underlying Apache HttpClient library
  • Fixed the regression of slow network operations introduced at 0.10.1
  • Fixed an issue where connection timeout sometimes fell back to attempting plain HTTP (non-HTTPS) requests when the Containerizer is set to allow insecure registries

See CHANGELOG.md for more details.

jib-maven-plugin v1.5.1

03 Sep 15:56
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Fixed an issue interacting with certain registries due to changes to URL handling in the underlying Apache HttpClient library.

See CHANGELOG.md for more details.

jib-gradle-plugin v1.5.1

03 Sep 15:58
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Fixed an issue interacting with certain registries due to changes to URL handling in the underlying Apache HttpClient library.

See CHANGELOG.md for more details.

jib-maven-plugin v1.5.0

16 Aug 18:50
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Can now set file timestamps (last modified time) in the image with <container><filesModificationTime>. The value should either be EPOCH_PLUS_SECOND to set the timestamps to Epoch + 1 second (default behavior), or an ISO 8601 date time parsable with DateTimeFormatter.ISO_DATE_TIME such as 2019-07-15T10:15:30+09:00 or 2011-12-03T22:42:05Z
  • Can now set container creation timestamp with <container><creationTime>. The value should be EPOCH, USE_CURRENT_TIMESTAMP, or an ISO 8601 date time
  • For Google Container Registry (gcr.io), Jib now tries Google Application Default Credentials (ADC) last when no credentials can be retrieved. ADC are available on many Google Cloud Platform (GCP) environments (such as Google Cloud Build, Google Compute Engine, Google Kubernetes Engine, and Google App Engine). Application Default Credentials can also be configured with gcloud auth application-default login locally or through the GOOGLE_APPLICATION_CREDENTIALS environment variable.
  • When building to a registry, Jib now skips downloading and caching base image layers that already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property -Djib.alwaysCacheBaseImage=true
  • <container><useCurrentTimestamp> has been deprecated in favor of <container><creationTime> with USE_CURRENT_TIMESTAMP

See CHANGELOG.md for more details.

jib-gradle-plugin v1.5.0

16 Aug 18:50
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Can now set timestamps (last modified time) of the files in the built image with jib.container.filesModificationTime. The value should either be EPOCH_PLUS_SECOND to set the timestamps to Epoch + 1 second (default behavior), or an ISO 8601 date time parsable with DateTimeFormatter.ISO_DATE_TIME such as 2019-07-15T10:15:30+09:00 or 2011-12-03T22:42:05Z
  • Can now set container creation timestamp with jib.container.creationTime. The value should be EPOCH, USE_CURRENT_TIMESTAMP, or an ISO 8601 date time
  • For Google Container Registry (gcr.io), Jib now tries Google Application Default Credentials (ADC) last when no credentials can be retrieved. ADC are available on many Google Cloud Platform (GCP) environments (such as Google Cloud Build, Google Compute Engine, Google Kubernetes Engine, and Google App Engine). Application Default Credentials can also be configured with gcloud auth application-default login locally or through the GOOGLE_APPLICATION_CREDENTIALS environment variable.
  • When building to a registry, Jib now skips downloading and caching base image layers that already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property -Djib.alwaysCacheBaseImage=true
  • jib.container.useCurrentTimestamp has been deprecated in favor of jib.container.creationTime with USE_CURRENT_TIMESTAMP

See CHANGELOG.md for more details.

jib-core v0.10.1

16 Aug 18:50
Compare
Choose a tag to compare

jib-core

Major Changes

  • Added JavaContainerBuilder#setLastModifiedTimeProvider to set file timestamps
  • JibContainerBuilder#addDependencies is now split into three methods: addDependencies, addSnapshotDependencies, addProjectDependencies
  • For building and pushing to a registry, Jib now skips downloading and caching base image layers if the layers already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property -Djib.alwaysCacheBaseImage=true
  • Manifest lists referenced directly by sha256 are automatically parsed and the first linux/amd64 manifest is used

See CHANGELOG.md for more details.