Skip to content

Commit d433deb

Browse files
Merge branch '3.0.x' into 3.1.x
Closes gh-38485
2 parents 5fa5748 + dabcebf commit d433deb

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

ci/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ resources:
179179
type: registry-image
180180
icon: docker
181181
source:
182-
repository: paketobuildpacks/builder
183-
tag: base
182+
repository: paketobuildpacks/builder-jammy-base
183+
tag: latest
184184
- name: artifactory-repo
185185
type: artifactory-resource
186186
icon: package-variant

spring-boot-project/spring-boot-docs/src/docs/asciidoc/native-image/developing-your-first-application.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ This means you can just type a single command and quickly get a sensible image i
3232
The resulting image doesn't contain a JVM, instead the native image is compiled statically.
3333
This leads to smaller images.
3434

35-
NOTE: The builder used for the images is `paketobuildpacks/builder:tiny`.
36-
It has small footprint and reduced attack surface, but you can also use `paketobuildpacks/builder-jammy-base` or `paketobuildpacks/builder-jammy-full` to have more tools available in the image if required.
35+
NOTE: The builder used for the images is `paketobuildpacks/builder-jammy-tiny:latest`.
36+
It has small footprint and reduced attack surface, but you can also use `paketobuildpacks/builder-jammy-base:latest` or `paketobuildpacks/builder-jammy-full:latest` to have more tools available in the image if required.
3737

3838

3939

spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ publishing.publications.withType(MavenPublication) {
249249
delegate.artifactId('spring-boot-maven-plugin')
250250
configuration {
251251
image {
252-
delegate.builder("paketobuildpacks/builder:tiny");
252+
delegate.builder("paketobuildpacks/builder-jammy-tiny:latest")
253253
env {
254254
delegate.BP_NATIVE_IMAGE("true")
255255
}

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*/
4646
public class BuildRequest {
4747

48-
static final String DEFAULT_BUILDER_IMAGE_NAME = "paketobuildpacks/builder:base";
48+
static final String DEFAULT_BUILDER_IMAGE_NAME = "paketobuildpacks/builder-jammy-base:latest";
4949

5050
private static final ImageReference DEFAULT_BUILDER = ImageReference.of(DEFAULT_BUILDER_IMAGE_NAME);
5151

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The following table summarizes the available properties and their default values
105105
| `builder`
106106
| `--builder`
107107
| Name of the Builder image to use.
108-
| `paketobuildpacks/builder:base` or `paketobuildpacks/builder:tiny` when {nbt-gradle-plugin}[GraalVM Native Image plugin] is applied.
108+
| `paketobuildpacks/builder-jammy-base:latest` or `paketobuildpacks/builder-jammy-tiny:latest` when {nbt-gradle-plugin}[GraalVM Native Image plugin] is applied.
109109

110110
| `runImage`
111111
| `--runImage`

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/reacting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ When the {nbt-gradle-plugin}[GraalVM Native Image plugin] is applied to a projec
8181
. Configures the GraalVM extension to disable Toolchain detection.
8282
. Configures each GraalVM native binary to require GraalVM 22.3 or later.
8383
. Configures the `bootJar` task to include the reachability metadata produced by the `collectReachabilityMetadata` task in its jar.
84-
. Configures the `bootBuildImage` task to use `paketobuildpacks/builder:tiny` as its builder and to set `BP_NATIVE_IMAGE` to `true` in its environment.
84+
. Configures the `bootBuildImage` task to use `paketobuildpacks/builder-jammy-tiny:latest` as its builder and to set `BP_NATIVE_IMAGE` to `true` in its environment.
8585

8686

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/NativeImagePluginAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private void configureBootBuildImageToProduceANativeImage(Project project) {
115115
project.getTasks()
116116
.named(SpringBootPlugin.BOOT_BUILD_IMAGE_TASK_NAME, BootBuildImage.class)
117117
.configure((bootBuildImage) -> {
118-
bootBuildImage.getBuilder().convention("paketobuildpacks/builder:tiny");
118+
bootBuildImage.getBuilder().convention("paketobuildpacks/builder-jammy-tiny:latest");
119119
bootBuildImage.getEnvironment().put("BP_NATIVE_IMAGE", "true");
120120
});
121121
}

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/NativeImagePluginActionIntegrationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ void bootBuildImageIsConfiguredToBuildANativeImage() {
9393
writeDummySpringApplicationAotProcessorMainClass();
9494
BuildResult result = this.gradleBuild.expectDeprecationWarningsWithAtLeastVersion("8.2-rc-1")
9595
.build("bootBuildImageConfiguration");
96-
assertThat(result.getOutput()).contains("paketobuildpacks/builder:tiny").contains("BP_NATIVE_IMAGE = true");
96+
assertThat(result.getOutput()).contains("paketobuildpacks/builder-jammy-tiny:latest")
97+
.contains("BP_NATIVE_IMAGE = true");
9798
}
9899

99100
@TestTemplate

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ void whenUsingDefaultConfigurationThenRequestHasPublishDisabled() {
171171

172172
@Test
173173
void whenNoBuilderIsConfiguredThenRequestHasDefaultBuilder() {
174-
assertThat(this.buildImage.createRequest().getBuilder().getName()).isEqualTo("paketobuildpacks/builder");
174+
assertThat(this.buildImage.createRequest().getBuilder().getName())
175+
.isEqualTo("paketobuildpacks/builder-jammy-base");
175176
}
176177

177178
@Test

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ The following table summarizes the available parameters and their default values
121121
| `builder` +
122122
(`spring-boot.build-image.builder`)
123123
| Name of the Builder image to use.
124-
| `paketobuildpacks/builder:base`
124+
| `paketobuildpacks/builder-jammy-base:latest`
125125

126126
| `runImage` +
127127
(`spring-boot.build-image.runImage`)

0 commit comments

Comments
 (0)