Skip to content

Releases: GoogleContainerTools/jib

jib-maven-plugin v1.0.0-rc1

19 Dec 20:07

Choose a tag to compare

jib-maven-plugin GA Release Candidate 1

Major Changes

  • Added jib.baseImageCache and jib.applicationCache system properties for setting cache directories
  • Added build progress bar - set -Djib.console=plain to show progress as log messages instead
  • gwt-app packaging type now builds a WAR container
  • When building to Docker and no <to><image> is defined, artifact ID is used as an image reference instead of project name
  • Removed <useOnlyProjectCache> parameter in favor of the jib.useOnlyProjectCache system property
  • Fixed builds failing due to dependency JARs with the same name

See CHANGELOG.md for more details.

jib-gradle-plugin v1.0.0-rc1

19 Dec 18:52

Choose a tag to compare

jib-gradle-plugin GA Release Candidate 1

Major Changes

  • Added jib.baseImageCache and jib.applicationCache system properties for setting cache directories
  • Added build progress bar - set -Djib.console=plain to show progress as log messages
  • Removed jib.useOnlyProjectCache parameter in favor of the jib.useOnlyProjectCache system property
  • Fixed builds failing due to dependency JARs with the same name

See CHANGELOG.md for more details.

jib-maven-plugin v0.10.1

03 Dec 23:18

Choose a tag to compare

jib-maven-plugin

Major Changes

  • <container><entrypoint>INHERIT</entrypoint></container> allows inheriting ENTRYPOINT and CMD from the base image. While inheriting ENTRYPOINT, you can also override CMD using <container><args>.
  • <container><workingDirectory> configuration parameter to set the working directory
  • Adds support for configuring volumes
  • Image ID is now written to target/jib-image.id
  • Exposed ports and Docker health check are now propagated from the base image
  • Removed jib:exportDockerContext goal
  • Fixed NullPointerException thrown with incomplete auth configuration

See CHANGELOG.md for more details.

jib-gradle-plugin v0.10.1

03 Dec 22:26

Choose a tag to compare

jib-gradle-plugin

Major Changes

  • jib.container.entrypoint = 'INHERIT' allows inheriting ENTRYPOINT and CMD from the base image. While inheriting ENTRYPOINT, you can also override CMD using jib.container.args.
  • jib.container.workingDirectory configuration parameter to set the working directory
  • Adds support for configuring volumes
  • Image ID is now written to build/jib-image.id
  • Exposed ports and Docker health check are now propagated from the base image
  • Removed jibExportDockerContext task
  • Fixed NullPointerException thrown with incomplete auth configuration

See CHANGELOG.md for more details.

jib-maven-plugin v0.10.0

08 Nov 18:41

Choose a tag to compare

jib-maven-plugin

Major Changes

  • Adds properties for each configuration parameter, allowing any parameter to be set via commandline
  • <to><credHelper> and <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 <extraDirectory> object with a path and permissions field
    • <extraDirectory><path> configures the extra layer directory (still also configurable via <extraDirectory>...</extraDirectory>)
    • <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 target/jib-image.digest
  • Adds the layer type to the layer history as comments
  • Removes deprecated <jvmFlags>, <mainClass>, <args>, and <format> in favor of the equivalents under <container>
  • jib:exportDockerContext 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

See CHANGELOG.md for more details.

jib-gradle-plugin v0.10.0

08 Nov 16:13

Choose a tag to compare

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.

jib-maven-plugin v0.9.13

17 Oct 21:29

Choose a tag to compare

jib-maven-plugin

Major Changes

  • Adds environment variable configuration to Docker context generator

See CHANGELOG.md for more details.

jib-gradle-plugin v0.9.13

16 Oct 15:39

Choose a tag to compare

jib-gradle-plugin

Fixed

  • Adds environment variable configuration to Docker context generator

See CHANGELOG.md for more details.

jib-gradle-plugin v0.9.12

08 Oct 14:35

Choose a tag to compare

jib-gradle-plugin

Fixed

  • Fixed cannot access 'image': it is public in <anonymous> error

See CHANGELOG.md for more details.

jib-maven-plugin v0.9.11

26 Sep 18:38

Choose a tag to compare

jib-maven-plugin

Major Changes

  • <skip> configuration parameter to skip Jib execution in multi-module projects (also settable via jib.skip property)
  • <container><environment> configuration parameter to configure environment variables
  • <container><appRoot> configuration parameter to configure app root in the image
  • <to><tags> (list) defines additional tags to push to
  • Fixed container history mismatch when image contains duplicate layers

See CHANGELOG.md for more details.