Skip to content

Commit dabcebf

Browse files
Merge branch '2.7.x' into 3.0.x
Closes gh-38484
2 parents 3ca20a7 + d1cce0f commit dabcebf

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
@@ -239,7 +239,7 @@ publishing.publications.withType(MavenPublication) {
239239
delegate.artifactId('spring-boot-maven-plugin')
240240
configuration {
241241
image {
242-
delegate.builder("paketobuildpacks/builder:tiny");
242+
delegate.builder("paketobuildpacks/builder-jammy-tiny:latest")
243243
env {
244244
delegate.BP_NATIVE_IMAGE("true")
245245
}

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
@@ -43,7 +43,7 @@
4343
*/
4444
public class BuildRequest {
4545

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

4848
private static final ImageReference DEFAULT_BUILDER = ImageReference.of(DEFAULT_BUILDER_IMAGE_NAME);
4949

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
@@ -80,6 +80,6 @@ When the {nbt-gradle-plugin}[GraalVM Native Image plugin] is applied to a projec
8080
. Configures the GraalVM extension to disable Toolchain detection.
8181
. Configures each GraalVM native binary to require GraalVM 22.3 or later.
8282
. Configures the `bootJar` task to include the reachability metadata produced by the `collectReachabilityMetadata` task in its jar.
83-
. Configures the `bootBuildImage` task to use `paketobuildpacks/builder:tiny` as its builder and to set `BP_NATIVE_IMAGE` to `true` in its environment.
83+
. 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.
8484

8585

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
@@ -114,7 +114,7 @@ private void configureBootBuildImageToProduceANativeImage(Project project) {
114114
project.getTasks()
115115
.named(SpringBootPlugin.BOOT_BUILD_IMAGE_TASK_NAME, BootBuildImage.class)
116116
.configure((bootBuildImage) -> {
117-
bootBuildImage.getBuilder().convention("paketobuildpacks/builder:tiny");
117+
bootBuildImage.getBuilder().convention("paketobuildpacks/builder-jammy-tiny:latest");
118118
bootBuildImage.getEnvironment().put("BP_NATIVE_IMAGE", "true");
119119
});
120120
}

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
@@ -92,7 +92,8 @@ void bootBuildImageIsConfiguredToBuildANativeImage() {
9292
writeDummySpringApplicationAotProcessorMainClass();
9393
BuildResult result = this.gradleBuild.expectDeprecationWarningsWithAtLeastVersion("8.2-rc-1")
9494
.build("bootBuildImageConfiguration");
95-
assertThat(result.getOutput()).contains("paketobuildpacks/builder:tiny").contains("BP_NATIVE_IMAGE = true");
95+
assertThat(result.getOutput()).contains("paketobuildpacks/builder-jammy-tiny:latest")
96+
.contains("BP_NATIVE_IMAGE = true");
9697
}
9798

9899
@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
@@ -120,7 +120,7 @@ The following table summarizes the available parameters and their default values
120120
| `builder` +
121121
(`spring-boot.build-image.builder`)
122122
| Name of the Builder image to use.
123-
| `paketobuildpacks/builder:base`
123+
| `paketobuildpacks/builder-jammy-base:latest`
124124

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

0 commit comments

Comments
 (0)