Releases: GoogleContainerTools/jib
Releases · GoogleContainerTools/jib
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
jibSerialize
has been changed tojib.serialize
- For retrieving credentials from Docker config (
~/.docker/config.json
),credHelpers
now takes precedence overcredsStore
, followed byauths
- The legacy
credsStore
no longer requires defining empty registry entries inauths
to be used. This now means that ifcredsStore
is defined,auths
will 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.image
withdocker://
to build from a docker daemon image, ortar://
to build from a tarball image - System property
jibSerialize
has been changed tojib.serialize
- For retrieving credentials from Docker config (
~/.docker/config.json
),credHelpers
now takes precedence overcredsStore
, followed byauths
- The legacy
credsStore
no longer requires defining empty registry entries inauths
to be used. This now means that ifcredsStore
is defined,auths
will be completely ignored jib.dockerClient
is now configurable on all tasks, not justjibDockerBuild
jibDockerBuild.dockerClient
is 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
allowInsecureRegistries
is set
See CHANGELOG.md for more details.
jib-core v0.11.0
Major Changes
Jib#from
andJavaContainerBuilder#from
overloads to allow using aDockerDaemonImage
or aTarImage
as the base imageJib#from(String)
accepts strings prefixed withdocker://
,tar://
, orregistry://
to specify image type- System property
jibSerialize
has been changed tojib.serialize
TarImage
is 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
Containerizer
is 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.
jib-gradle-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.
jib-maven-plugin v1.5.0
Major Changes
- Can now set file timestamps (last modified time) in the image with
<container><filesModificationTime>
. The value should either beEPOCH_PLUS_SECOND
to set the timestamps to Epoch + 1 second (default behavior), or an ISO 8601 date time parsable withDateTimeFormatter.ISO_DATE_TIME
such as2019-07-15T10:15:30+09:00
or2011-12-03T22:42:05Z
- Can now set container creation timestamp with
<container><creationTime>
. The value should beEPOCH
,USE_CURRENT_TIMESTAMP
, or an ISO 8601 date time - For Google Container Registry (gcr.io), Jib now tries Google Application Default Credentials (ADC) last when no credentials can be retrieved. ADC are available on many Google Cloud Platform (GCP) environments (such as Google Cloud Build, Google Compute Engine, Google Kubernetes Engine, and Google App Engine). Application Default Credentials can also be configured with
gcloud auth application-default login
locally or through theGOOGLE_APPLICATION_CREDENTIALS
environment variable. - When building to a registry, Jib now skips downloading and caching base image layers that already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property
-Djib.alwaysCacheBaseImage=true
<container><useCurrentTimestamp>
has been deprecated in favor of<container><creationTime>
withUSE_CURRENT_TIMESTAMP
See CHANGELOG.md for more details.
jib-gradle-plugin v1.5.0
Major Changes
- Can now set timestamps (last modified time) of the files in the built image with
jib.container.filesModificationTime
. The value should either beEPOCH_PLUS_SECOND
to set the timestamps to Epoch + 1 second (default behavior), or an ISO 8601 date time parsable withDateTimeFormatter.ISO_DATE_TIME
such as2019-07-15T10:15:30+09:00
or2011-12-03T22:42:05Z
- Can now set container creation timestamp with
jib.container.creationTime
. The value should beEPOCH
,USE_CURRENT_TIMESTAMP
, or an ISO 8601 date time - For Google Container Registry (gcr.io), Jib now tries Google Application Default Credentials (ADC) last when no credentials can be retrieved. ADC are available on many Google Cloud Platform (GCP) environments (such as Google Cloud Build, Google Compute Engine, Google Kubernetes Engine, and Google App Engine). Application Default Credentials can also be configured with
gcloud auth application-default login
locally or through theGOOGLE_APPLICATION_CREDENTIALS
environment variable. - When building to a registry, Jib now skips downloading and caching base image layers that already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property
-Djib.alwaysCacheBaseImage=true
jib.container.useCurrentTimestamp
has been deprecated in favor ofjib.container.creationTime
withUSE_CURRENT_TIMESTAMP
See CHANGELOG.md for more details.
jib-core v0.10.1
Major Changes
- Added
JavaContainerBuilder#setLastModifiedTimeProvider
to set file timestamps JibContainerBuilder#addDependencies
is now split into three methods:addDependencies
,addSnapshotDependencies
,addProjectDependencies
- For building and pushing to a registry, Jib now skips downloading and caching base image layers if the layers already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property
-Djib.alwaysCacheBaseImage=true
- Manifest lists referenced directly by sha256 are automatically parsed and the first
linux/amd64
manifest is used
See CHANGELOG.md for more details.