Releases: GoogleContainerTools/jib
Releases · GoogleContainerTools/jib
jib-gradle-plugin v1.8.0
Major Changes
- Requires Gradle 4.9 or newer (up from 4.6).
allowInsecureRegistriesand thesendCredentialsOverHttpsystem property are now effective for authentication service server connections.- Fixed reporting parent build file when
skaffold initis run on multi-module projects. - Optimized building to a registry with local base images.
- Now correctly uses the
wartask if it is enabled and thebootWartask is disabled for Spring WAR projects. - Fixed inefficient communications when interacting with insecure registries and servers (when
allowInsecureRegistriesis set).
See CHANGELOG.md for more details.
jib-maven-plugin v1.7.0
Major Changes
- Main class inference support for Java 13/14.
- The base image manifest is no longer pulled from the registry if a digest is provided and the manifest is already cached.
<outputPaths>object for configuration output file locations<outputPaths><tar>configures output path ofjib:buildTar(target/jib-image.tarby default)<outputPaths><digest>configures the output path of the image digest (target/jib-image.digestby default)<outputPaths><imageId>configures output path of the image id (target/jib-image.idby default)
- Fixed additional tags being ignored when building to a tarball.
- Local base image layers are now processed in parallel, speeding up builds using large local base images.
- Docker daemon base images are now cached more effectively, speeding up builds using
docker://base images. - Fixed an issue for WAR projects where Jib used an intermediate exploded WAR directory instead of exploding the final WAR file.
- Fixed
tar://base image failing if tar does not contain explicit directory entries. - Fixed temporary directory cleanup during builds using local base images.
See CHANGELOG.md for more details.
jib-gradle-plugin v1.7.0
Major Changes
- Main class inference support for Java 13/14.
- The base image manifest is no longer pulled from the registry if a digest is provided and the manifest is already cached.
jib.outputPathsobject for configuration output file locationsjib.outputPaths.tarconfigures output path ofjibBuildTar(build/jib-image.tarby default)jib.outputPaths.digestconfigures the output path of the image digest (build/jib-image.digestby default)jib.outputPaths.imageIdconfigures output path of the image id (build/jib-image.idby default)
- Fixed additional tags being ignored when building to a tarball.
- Local base image layers are now processed in parallel, speeding up builds using large local base images.
- Docker daemon base images are now cached more effectively, speeding up builds using
docker://base images. - Fixed
tar://base image failing if tar does not contain explicit directory entries. - Fixed temporary directory cleanup during builds using local base images.
See CHANGELOG.md for more details.
jib-core v0.12.0
Major Changes
- Main class inference support for Java 13/14.
- The base image manifest is no longer pulled from the registry if a digest is provided and the manifest is already cached.
- Fixed additional tags being ignored when building to a tarball.
- Local base image layers are now processed in parallel, speeding up builds using large local base images.
- Docker daemon base images are now cached more effectively, speeding up builds using
DockerDaemonImagebase images. - Fixed
TarImagebase image failing if tar does not contain explicit directory entries. - Fixed temporary directory cleanup during builds using local base images.
- Now ignores
jib.alwaysCacheBaseImagesystem property. UseContainerizer#setAlwaysCacheBaseImage(boolean)instead. Containerizer#setAlwaysCacheBaseImage(boolean)controls the optimization to skip downloading base image layers that exist in a target registry.
See CHANGELOG.md for more details.
jib-maven-plugin v1.6.1
Major Changes
- Fixed an issue with using custom base images in Java 12+ projects
See CHANGELOG.md for more details.
jib-gradle-plugin v1.6.1
Major Changes
- Fixed an issue with using custom base images in Java 12+ projects
See CHANGELOG.md for more details.
jib-maven-plugin v1.6.0
Major Changes
- Added support for local base images by prefixing
<from><image>withdocker://to build from a docker daemon image, ortar://to build from a tarball image - System property
jibSerializehas been changed tojib.serialize - For retrieving credentials from Docker config (
~/.docker/config.json),credHelpersnow takes precedence overcredsStore, followed byauths - The legacy
credsStoreno longer requires defining empty registry entries inauthsto be used. This now means that ifcredsStoreis defined,authswill be completely ignored <dockerClient>is now configurable on all goals, not justjib:dockerBuild- Fixed the regression of slow network operations introduced at 1.5.0
- Fixed an issue where connection timeout sometimes fell back to attempting plain HTTP (non-HTTPS) requests when
<allowInsecureRegistries>is set
See CHANGELOG.md for more details.
jib-gradle-plugin v1.6.0
Major Changes
- Added support for local base images by prefixing
jib.from.imagewithdocker://to build from a docker daemon image, ortar://to build from a tarball image - System property
jibSerializehas been changed tojib.serialize - For retrieving credentials from Docker config (
~/.docker/config.json),credHelpersnow takes precedence overcredsStore, followed byauths - The legacy
credsStoreno longer requires defining empty registry entries inauthsto be used. This now means that ifcredsStoreis defined,authswill be completely ignored jib.dockerClientis now configurable on all tasks, not justjibDockerBuildjibDockerBuild.dockerClientis deprecated in favor ofjib.dockerClient- Fixed the regression of slow network operations introduced at 1.5.0
- Fixed an issue where connection timeout sometimes fell back to attempting plain HTTP (non-HTTPS) requests when
allowInsecureRegistriesis set
See CHANGELOG.md for more details.
jib-core v0.11.0
Major Changes
Jib#fromandJavaContainerBuilder#fromoverloads to allow using aDockerDaemonImageor aTarImageas the base imageJib#from(String)accepts strings prefixed withdocker://,tar://, orregistry://to specify image type- System property
jibSerializehas been changed tojib.serialize TarImageis constructed usingTarImage.at(...).named(...)instead ofTarImage.named(...).saveTo(...)- Fixed an issue interacting with certain registries due to changes to URL handling in the underlying Apache HttpClient library
- Fixed the regression of slow network operations introduced at 0.10.1
- Fixed an issue where connection timeout sometimes fell back to attempting plain HTTP (non-HTTPS) requests when the
Containerizeris set to allow insecure registries
See CHANGELOG.md for more details.
jib-maven-plugin v1.5.1
Major Changes
- Fixed an issue interacting with certain registries due to changes to URL handling in the underlying Apache HttpClient library.
See CHANGELOG.md for more details.