You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/packaging/native-image/advanced-topics.adoc
+2-2
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,13 @@ NOTE: Your executable jar must include AOT generated assets such as generated cl
54
54
=== Using Buildpacks
55
55
56
56
Spring Boot applications usually use Cloud Native Buildpacks through the Maven (`mvn spring-boot:build-image`) or Gradle (`gradle bootBuildImage`) integrations.
57
-
You can, however, also use https://buildpacks.io//docs/tools/pack/[`pack`] to turn an AOT processed Spring Boot executable jar into a native container image.
57
+
You can, however, also use {url-buildpacks-docs}/for-platform-operators/how-to/integrate-ci/pack/[`pack`] to turn an AOT processed Spring Boot executable jar into a native container image.
58
58
59
59
60
60
First, make sure that a Docker daemon is available (see https://docs.docker.com/installation/#installation[Get Docker] for more details).
61
61
https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user[Configure it to allow non-root user] if you are on Linux.
62
62
63
-
You also need to install `pack` by following https://buildpacks.io//docs/tools/pack/#install[the installation guide on buildpacks.io].
63
+
You also need to install `pack` by following {url-buildpacks-docs}/for-platform-operators/how-to/integrate-ci/pack/#install[the installation guide on buildpacks.io].
64
64
65
65
Assuming an AOT processed Spring Boot executable jar built as `myproject-0.0.1-SNAPSHOT.jar` is in the `target` directory, run:
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -105,8 +105,8 @@ For more details, see also xref:packaging-oci-image.adoc#build-image.examples.do
105
105
[[build-image.customization]]
106
106
== Image Customizations
107
107
108
-
The plugin invokes a {url-buildpacks-docs}/concepts/components/builder/[builder] to orchestrate the generation of an image.
109
-
The builder includes multiple {url-buildpacks-docs}/concepts/components/buildpack[buildpacks] that can inspect the application to influence the generated image.
108
+
The plugin invokes a {url-buildpacks-docs}/for-app-developers/concepts/builder/[builder] to orchestrate the generation of an image.
109
+
The builder includes multiple {url-buildpacks-docs}/for-app-developers/concepts/buildpack/[buildpacks] that can inspect the application to influence the generated image.
110
110
By default, the plugin chooses a builder image.
111
111
The name of the generated image is deduced from project properties.
112
112
@@ -123,7 +123,7 @@ The following table summarizes the available properties and their default values
123
123
124
124
| `trustBuilder`
125
125
| `--trustBuilder`
126
-
| Whether to treat the builder as https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/concepts/trusted_builders/#what-is-a-trusted-builder[trusted].
126
+
| Whether to treat the builder as {url-buildpacks-docs}/for-platform-operators/how-to/integrate-ci/pack/concepts/trusted_builders/#what-is-a-trusted-builder[trusted].
127
127
| `true` if the builder is one of `paketobuildpacks/builder-jammy-java-tiny`, `paketobuildpacks/builder-noble-java-tiny`, `paketobuildpacks/builder-jammy-tiny`, `paketobuildpacks/builder-jammy-base`, `paketobuildpacks/builder-jammy-full`, `paketobuildpacks/builder-jammy-buildpackless-tiny`, `paketobuildpacks/builder-jammy-buildpackless-base`, `paketobuildpacks/builder-jammy-buildpackless-full`, `gcr.io/buildpacks/builder`, `heroku/builder`; `false` otherwise.
128
128
129
129
| `imagePlatform`
@@ -232,7 +232,7 @@ The value can be a named volume or a bind mount location.
232
232
| `--createdDate`
233
233
| A date that will be used to set the `Created` field in the generated image's metadata.
234
234
The value must be a string in the ISO 8601 instant format, or `now` to use the current date and time.
235
-
| A fixed date that enables https://buildpacks.io/docs/features/reproducibility/[build reproducibility].
235
+
| A fixed date that enables {url-buildpacks-docs}/for-app-developers/concepts/reproducibility/[build reproducibility].
236
236
237
237
| `applicationDirectory`
238
238
| `--applicationDirectory`
@@ -459,7 +459,7 @@ A path to a gzipped tar file containing buildpack content:
459
459
* `\file:///path/to/buildpack.tgz`
460
460
* `/path/to/buildpack.tgz`
461
461
462
-
An OCI image containing a https://buildpacks.io/docs/buildpack-author-guide/package-a-buildpack/[packaged buildpack]:
462
+
An OCI image containing a {url-buildpacks-docs}/for-buildpack-authors/how-to/distribute-buildpacks/package-buildpack/[packaged buildpack]:
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/build-image.adoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -120,8 +120,8 @@ For more details, see also xref:build-image.adoc#build-image.examples.docker[exa
120
120
[[build-image.customization]]
121
121
== Image Customizations
122
122
123
-
The plugin invokes a {url-buildpacks-docs}/concepts/components/builder/[builder] to orchestrate the generation of an image.
124
-
The builder includes multiple {url-buildpacks-docs}/concepts/components/buildpack[buildpacks] that can inspect the application to influence the generated image.
123
+
The plugin invokes a {url-buildpacks-docs}/for-app-developers/concepts/builder/[builder] to orchestrate the generation of an image.
124
+
The builder includes multiple {url-buildpacks-docs}/for-app-developers/concepts/buildpack/[buildpacks] that can inspect the application to influence the generated image.
125
125
By default, the plugin chooses a builder image.
126
126
The name of the generated image is deduced from project properties.
127
127
@@ -139,7 +139,7 @@ The following table summarizes the available parameters and their default values
139
139
140
140
| `trustBuilder` +
141
141
(`spring-boot.build-image.trustBuilder`)
142
-
| Whether to treat the builder as https://buildpacks.io/docs/for-platform-operators/how-to/integrate-ci/pack/concepts/trusted_builders/#what-is-a-trusted-builder[trusted].
142
+
| Whether to treat the builder as {url-buildpacks-docs}/for-platform-operators/how-to/integrate-ci/pack/concepts/trusted_builders/#what-is-a-trusted-builder[trusted].
143
143
| `true` if the builder is one of `paketobuildpacks/builder-jammy-java-tiny`, `paketobuildpacks/builder-noble-java-tiny`, `paketobuildpacks/builder-jammy-tiny`, `paketobuildpacks/builder-jammy-base`, `paketobuildpacks/builder-jammy-full`, `paketobuildpacks/builder-jammy-buildpackless-tiny`, `paketobuildpacks/builder-jammy-buildpackless-base`, `paketobuildpacks/builder-jammy-buildpackless-full`, `gcr.io/buildpacks/builder`, `heroku/builder`; `false` otherwise.
144
144
145
145
| `imagePlatform` +
@@ -238,7 +238,7 @@ The value can be a named volume or a bind mount location.
238
238
(`spring-boot.build-image.createdDate`)
239
239
| A date that will be used to set the `Created` field in the generated image's metadata.
240
240
The value must be a string in the ISO 8601 instant format, or `now` to use the current date and time.
241
-
| A fixed date that enables https://buildpacks.io/docs/features/reproducibility/[build reproducibility].
241
+
| A fixed date that enables {url-buildpacks-docs}/for-app-developers/concepts/reproducibility/[build reproducibility].
242
242
243
243
244
244
| `applicationDirectory` +
@@ -401,7 +401,7 @@ A path to a gzipped tar file containing buildpack content:
401
401
* `\file:///path/to/buildpack.tgz`
402
402
* `/path/to/buildpack.tgz`
403
403
404
-
An OCI image containing a https://buildpacks.io/docs/buildpack-author-guide/package-a-buildpack/[packaged buildpack]:
404
+
An OCI image containing a {url-buildpacks-docs}/for-buildpack-authors/how-to/distribute-buildpacks/package-buildpack/[packaged buildpack]:
0 commit comments