Add option to use configured Docker host in builder

This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.

Fixes gh-29384
This commit is contained in:
Scott Frederick
2022-03-11 15:27:22 -06:00
parent 93622d18eb
commit 7ad538cd84
24 changed files with 621 additions and 236 deletions

View File

@@ -57,6 +57,9 @@ The following table summarizes the available parameters:
| `certPath`
| Path to certificate and key files for HTTPS (required if `tlsVerify` is `true`, ignored otherwise)
| `bindHostToBuilder`
| When `true`, the value of the `host` property will be provided to the container that is created for the CNB builder (optional)
|===
For more details, see also <<build-image.examples.docker,examples>>.