@@ -107,34 +107,35 @@ The name of the generated image is deduced from project properties.
107
107
The `image` parameter allows configuration of the builder and how it should operate on the project.
108
108
The following table summarizes the available parameters and their default values:
109
109
110
+ [cols="1,4,1"]
110
111
|===
111
- | Parameter | Description | User property | Default value
112
+ | Parameter / (User Property)| Description | Default value
112
113
113
- | `builder`
114
+ | `builder` +
115
+ (`spring-boot.build-image.builder`)
114
116
| Name of the Builder image to use.
115
- | `spring-boot.build-image.builder`
116
117
| `paketobuildpacks/builder:base`
117
118
118
- | `runImage`
119
+ | `runImage` +
120
+ (`spring-boot.build-image.runImage`)
119
121
| Name of the run image to use.
120
- | `spring-boot.build-image.runImage`
121
122
| No default value, indicating the run image specified in Builder metadata should be used.
122
123
123
- | `name`
124
+ | `name` +
125
+ (`spring-boot.build-image.imageName`)
124
126
| {spring-boot-api}/buildpack/platform/docker/type/ImageReference.html#of-java.lang.String-[Image name] for the generated image.
125
- | `spring-boot.build-image.imageName`
126
- | `docker.io/library/ ${project.artifactId}:${project.version}`
127
+ | `docker.io/library/` +
128
+ ` ${project.artifactId}:${project.version}`
127
129
128
- | `pullPolicy`
130
+ | `pullPolicy` +
131
+ (`spring-boot.build-image.pullPolicy`)
129
132
| {spring-boot-api}/buildpack/platform/build/PullPolicy.html[Policy] used to determine when to pull the builder and run images from the registry.
130
133
Acceptable values are `ALWAYS`, `NEVER`, and `IF_NOT_PRESENT`.
131
- | `spring-boot.build-image.pullPolicy`
132
134
| `ALWAYS`
133
135
134
136
| `env`
135
137
| Environment variables that should be passed to the builder.
136
138
|
137
- |
138
139
139
140
| `buildpacks`
140
141
a|Buildpacks that the builder should use when building the image.
@@ -145,7 +146,6 @@ Buildpack references must be in one of the following forms:
145
146
* Buildpack in a directory on the file system - `[file://]<path>`
146
147
* Buildpack in a gzipped tar (.tgz) file on the file system - `[file://]<path>/<file name>`
147
148
* Buildpack in an OCI image - `[docker://]<host>/<repo>[:<tag>][@<digest>]`
148
- |
149
149
| None, indicating the builder should use the buildpacks included in it.
150
150
151
151
| `bindings`
@@ -162,21 +162,19 @@ Where `<options>` can contain:
162
162
* `rw` to mount the volume as readable and writable in the container
163
163
* `volume-opt=key=value` to specify key-value pairs consisting of an option name and its value
164
164
|
165
- |
166
165
167
- | `cleanCache`
166
+ | `cleanCache` +
167
+ (`spring-boot.build-image.cleanCache`)
168
168
| Whether to clean the cache before building.
169
- | `spring-boot.build-image.cleanCache`
170
169
| `false`
171
170
172
171
| `verboseLogging`
173
172
| Enables verbose logging of builder operations.
174
- |
175
173
| `false`
176
174
177
- | `publish`
175
+ | `publish` +
176
+ (`spring-boot.build-image.publish`)
178
177
| Whether to publish the generated image to a Docker registry.
179
- | `spring-boot.build-image.publish`
180
178
| `false`
181
179
|===
182
180
0 commit comments