jib-gradle-plugin v0.10.0
TadCordle
released this
08 Nov 16:13
·
1653 commits
to master
since this release
Major Changes
- Adds properties for each configuration parameter, allowing any parameter to be set via commandline
jib.to.credHelper
andjib.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 apath
andpermissions
fieldjib.extraDirectory.path
configures the extra layer directory (still also configurable viajib.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
, andjib.format
in favor of the equivalents underjib.container
jibExportDockerContext
generates different directory layout andDockerfile
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 runningjibDockerBuild
orjibBuildTar
See CHANGELOG.md for more details.