Releases: GoogleContainerTools/jib
Releases · GoogleContainerTools/jib
jib-maven-plugin v0.10.0
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 apath
andpermissions
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 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
See CHANGELOG.md for more details.
jib-gradle-plugin v0.10.0
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.
jib-maven-plugin v0.9.13
Major Changes
- Adds environment variable configuration to Docker context generator
See CHANGELOG.md for more details.
jib-gradle-plugin v0.9.13
Fixed
- Adds environment variable configuration to Docker context generator
See CHANGELOG.md for more details.
jib-gradle-plugin v0.9.12
Fixed
- Fixed
cannot access 'image': it is public in <anonymous>
error
See CHANGELOG.md for more details.
jib-maven-plugin v0.9.11
Major Changes
<skip>
configuration parameter to skip Jib execution in multi-module projects (also settable viajib.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.
jib-gradle-plugin v0.9.11
Major Changes
container.environment
configuration parameter to configure environment variables (#890)container.appRoot
configuration parameter to configure app root in the image (#984)jib.to.tags
(list) for defining additional tags to push to (#978)- Fixed container history mismatch when image contains duplicate layers (#1017)
See CHANGELOG.md for more details.
jib-maven-plugin v0.9.10
Major Changes
- Configure labels with
<container><labels>
configuration parameter - Configure a custom entrypoint with
<container><entrypoint>
configuration parameter - History is added to container configuration, making push to Artifactory work
- Propagates working directory from the base image
- Corrects permissions for directories in the container filesystem, allowing container to be run as non-root
See CHANGELOG.md for more details.
jib-gradle-plugin v0.9.10
Major Changes
- Configure labels with
jib.container.labels
configuration parameter - Configure a custom entrypoint with
jib.container.entrypoint
configuration parameter - History is added to container configuration, making push to Artifactory work
- Propagates working directory from the base image
- Corrects permissions for directories in the container filesystem, allowing container to be run as non-root
See CHANGELOG.md for more details.
jib-maven-plugin v0.9.9
Major Changes
- Labels from base image propagate to built image
- Reordered classpath in entrypoint to allow dependency patching
See CHANGELOG.md for more details.