Skip to content

jib-gradle-plugin v0.10.0

Compare
Choose a tag to compare
@TadCordle TadCordle released this 08 Nov 16:13
· 1653 commits to master since this release

jib-gradle-plugin

Major Changes

  • Adds properties for each configuration parameter, allowing any parameter to be set via commandline
  • jib.to.credHelper and jib.from.credHelper can be used to specify a credential helper suffix or a full path to a credential helper executable
  • Adds container.user configuration parameter to configure the user and group to run the container as
  • Adds preliminary support for building images for WAR projects
  • Adds jib.extraDirectory closure with a path and permissions field
    • jib.extraDirectory.path configures the extra layer directory (still also configurable via jib.extraDirectory = file(...))
    • jib.extraDirectory.permissions is a map from absolute path on container to the file's permission bits (represented as an octal string)
  • Image digest is now written to build/jib-image.digest
  • Adds the layer type to the layer history as comments
  • Removes deprecated jib.jvmFlags, jib.mainClass, jib.args, and jib.format in favor of the equivalents under jib.container
  • jibExportDockerContext generates different directory layout and Dockerfile to enable WAR support
  • File timestamps in the built image are set to 1 second since the epoch (hence 1970-01-01T00:00:01Z) to resolve compatibility with applications on Java 6 or below
  • Sets tag to "latest" instead of "unspecified" if jib.to.image and project version are both unspecified when running jibDockerBuild or jibBuildTar

See CHANGELOG.md for more details.