Skip to content

Commit

Permalink
doc(jkube-kit/doc): restructure BuildPacks Builder Image section in B…
Browse files Browse the repository at this point in the history
…uildPack Integration

+ Move default buildpack builder image section to top
+ Add section for configuring buildpack builder image using
  `jkube.generator.buildpacksBuilderImage` property

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
  • Loading branch information
rohanKanojia authored May 9, 2024
1 parent 66f2750 commit c8e5218
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions jkube-kit/doc/src/main/asciidoc/inc/_integrations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,15 @@ endif::[]
`pack build` process. If the download for the https://buildpacks.io/docs/tools/pack/[Pack CLI] binary fails, {plugin} looks for any locally installed https://buildpacks.io/docs/tools/pack/[Pack CLI] version.

=== Buildpack Builder Image
By default {plugin} uses the https://buildpacks.io/docs/concepts/components/builder/[builder image] specified in the https://buildpacks.io/docs/tools/pack/cli/pack_config/[Pack Config] file for building the container image using https://buildpacks.io/docs/tools/pack/[Pack CLI].

For example, if the user has this image set in the `$HOME/.pack/config.toml` file:
- If no builder image is configured, then {plugin} uses `paketobuildpacks/builder:base` as the default builder image.
- If builder image is provided in local https://buildpacks.io/docs/tools/pack/cli/pack_config/[Pack Config], {plugin} uses the https://buildpacks.io/docs/concepts/components/builder/[builder image] specified in the file.
For example,if the user has this image set in the `$HOME/.pack/config.toml` file, {plugin} will use `testuser/buildpacks-quarkus-builder:latest` as Buildpacks builder image.:
[source,toml,indent=2,subs="verbatim,quotes,attributes"]
----
default-builder-image = "testuser/buildpacks-quarkus-builder:latest"
----
{plugin} uses `testuser/buildpacks-quarkus-builder:latest` as Buildpacks builder image. If no image is configured, then {plugin} uses `paketobuildpacks/builder:base` as the default builder image.
- It's also possible to configure BuildPack builder image using property or {plugin-configuration-type} configuration. You can use this property to configure buildpacks builder image:
[source,properties,indent=2,subs="verbatim,quotes,attributes"]
----
jkube.generator.buildpacksBuilderImage = "testuser/buildpacks-quarkus-builder:latest"
----

0 comments on commit c8e5218

Please sign in to comment.