Skip to content

jib-maven-plugin v0.10.0

Compare
Choose a tag to compare
@chanseokoh chanseokoh released this 08 Nov 18:41
· 1636 commits to master since this release

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.