All notable changes to this project will be documented in this file.
- Snapshot dependencies are added as their own layer (#584)
jib:buildTar
goal to build an image tarball attarget/jib-image.tar
, which can be loaded into docker usingdocker load
(#514)<container><useCurrentTimestamp>
parameter to set the image creation time to the build time (#413)- Authentication over HTTP using the
sendCredentialsOverHttp
system property (#599) - HTTP connection and read timeouts for registry interactions configurable with the
jib.httpTimeout
system property (#656)
- Docker context export parameter
-Djib.dockerDir
to-DjibTargetDir
(#662)
- Using multi-byte characters in container configuration (#626)
- For Docker Hub, also tries registry aliases when getting a credential from the Docker config (#605)
- Decrypting credentials from Maven settings (#592)
- Using a private registry that does token authentication with
allowInsecureRegistries
set totrue
(#572)
- Incubating feature to build
src/main/jib
as extra layer in image (#565)
- Fixed handling case-insensitive
Basic
authentication method (#546) - Fixed regression that broke pulling base images from registries that required token authentication (#549)
- Using Docker config for finding registry credentials (was not ignoring extra fields and handling
https
protocol) (#524)
- Minor improvements and issue fixes
<container><ports>
parameter to define container's exposed ports (similar to DockerfileEXPOSE
) (#383)- Can set
allowInsecureRegistries
parameter totrue
to use registries that only support HTTP (#388)
- Fetches credentials from inferred credential helper before Docker config (#401)
- Container creation date set to timestamp 0 (#341)
- Does not authenticate base image pull unless necessary - reduces build time by about 500ms (#414)
jvmFlags
,mainClass
,args
, andformat
are now grouped undercontainer
configuration object (#384)
- Using Azure Container Registry now works - define credentials in Maven settings (#415)
- Supports
access_token
as alias totoken
in registry authentication (#420)
- Better feedback for build failures (#197)
- Warns if specified
mainClass
is not a valid Java class (#206) - Warns if build may not be reproducible (#245)
jib:dockerBuild
maven goal to build straight to Docker daemon (#266)mainClass
is inferred by searching through class files if configuration is missing (#278)- Can now specify target image with
-Dimage
(#328) args
parameter to define default main args (#346)
- Removed
enableReproducibleBuilds
parameter - application layers will always be reproducible (#245) - Changed configuration schema to be more like configuration for
jib-gradle-plugin
- NOT compatible with prior versions ofjib-maven-plugin
(#212) jib:dockercontext
has been changed tojib:exportDockerContext
(#350)
- Directories in resources are added to classes layer (#318)
- Using base images that lack entrypoints (#284
- Base image layers are now cached on a user-level rather than a project level - disable with
useOnlyProjectCache
configuration (#29)
jib:dockercontext
not building aDockerfile
(#171)- Failure to parse Docker config with
HttpHeaders
field (#175)
- Export a Docker context (including a Dockerfile) with
jib:dockercontext
(#49)
- Null tag validation generating NullPointerException (#125)
- Build failure on project with no dependencies (#126)
- Build and push OCI container image (#96)
- Use credentials from Docker config if none can be found otherwise (#101)
- Reproducible image building (#7)
- Simple example
helloworld
project underexamples/
(#62) - Better error messages when pushing an image manifest (#63)
- Validates target image configuration (#63)
- Configure multiple credential helpers with
credHelpers
(#68) - Configure registry credentials with Maven settings (#81)
- Removed configuration
credentialHelperName
(#68)