Releases: GoogleContainerTools/jib
Releases · GoogleContainerTools/jib
jib-maven-plugin v1.0.0-rc1
jib-maven-plugin GA Release Candidate 1
Major Changes
- Added
jib.baseImageCacheandjib.applicationCachesystem properties for setting cache directories - Added build progress bar - set
-Djib.console=plainto show progress as log messages instead gwt-apppackaging 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 thejib.useOnlyProjectCachesystem 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
jib-gradle-plugin GA Release Candidate 1
Major Changes
- Added
jib.baseImageCacheandjib.applicationCachesystem properties for setting cache directories - Added build progress bar - set
-Djib.console=plainto show progress as log messages - Removed
jib.useOnlyProjectCacheparameter in favor of thejib.useOnlyProjectCachesystem property - Fixed builds failing due to dependency JARs with the same name
See CHANGELOG.md for more details.
jib-maven-plugin v0.10.1
Major Changes
<container><entrypoint>INHERIT</entrypoint></container>allows inheritingENTRYPOINTandCMDfrom the base image. While inheritingENTRYPOINT, you can also overrideCMDusing<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:exportDockerContextgoal - Fixed NullPointerException thrown with incomplete
authconfiguration
See CHANGELOG.md for more details.
jib-gradle-plugin v0.10.1
Major Changes
jib.container.entrypoint = 'INHERIT'allows inheritingENTRYPOINTandCMDfrom the base image. While inheritingENTRYPOINT, you can also overrideCMDusingjib.container.args.jib.container.workingDirectoryconfiguration 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
jibExportDockerContexttask - Fixed
NullPointerExceptionthrown with incompleteauthconfiguration
See CHANGELOG.md for more details.
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 apathandpermissionsfield<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:exportDockerContextgenerates different directory layout andDockerfileto 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.credHelperandjib.from.credHelpercan be used to specify a credential helper suffix or a full path to a credential helper executable- Adds
container.userconfiguration parameter to configure the user and group to run the container as - Adds preliminary support for building images for WAR projects
- Adds
jib.extraDirectoryclosure with apathandpermissionsfieldjib.extraDirectory.pathconfigures the extra layer directory (still also configurable viajib.extraDirectory = file(...))jib.extraDirectory.permissionsis 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.formatin favor of the equivalents underjib.container jibExportDockerContextgenerates different directory layout andDockerfileto 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.imageand project version are both unspecified when runningjibDockerBuildorjibBuildTar
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.skipproperty)<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.