Skip to content

Commit 3690a95

Browse files
committed
Replace use of ubuntu-noble-run-base with ubuntu-noble-run
Update code and documentation to use the correct Paketo base image of `ubuntu-noble-run` rather than `ubuntu-noble-run-base` which was published only for testing purposes. Closes gh-47966
1 parent 0ca8f6d commit 3690a95

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/native-image/developing-your-first-application.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This leads to smaller images.
3535

3636
NOTE: The CNB builder used for the images is `paketobuildpacks/builder-noble-java-tiny:latest`.
3737
It has a small footprint and reduced attack surface. It does not include a shell and contains a reduced set of system libraries.
38-
If you need more tools in the resulting image, you can use `paketobuildpacks/ubuntu-noble-run-base:latest` as the *run* image.
38+
If you need more tools in the resulting image, you can use `paketobuildpacks/ubuntu-noble-run:latest` as the *run* image.
3939

4040

4141

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging-oci-image.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ When using the default Paketo builder and buildpacks, the plugin instructs the b
264264
You can override this behavior as shown in the xref:packaging-oci-image.adoc#build-image.examples.builder-configuration[builder configuration] examples.
265265

266266
NOTE: The default builder `paketobuildpacks/builder-noble-java-tiny:latest` contains a reduced set of system libraries and does not include a shell.
267-
Applications that require a shell to run a start script, as might be the case when the {url-gradle-docs-application-plugin}[`application` plugin] has been applied to generate a distribution zip archive, or that depend upon a system library that is not present, should override the `runImage` configuration to use one that includes a shell and a broader set of system libraries, such as `paketobuildpacks/ubuntu-noble-run-base:latest`.
267+
Applications that require a shell to run a start script, as might be the case when the {url-gradle-docs-application-plugin}[`application` plugin] has been applied to generate a distribution zip archive, or that depend upon a system library that is not present, should override the `runImage` configuration to use one that includes a shell and a broader set of system libraries, such as `paketobuildpacks/ubuntu-noble-run:latest`.
268268

269269

270270

spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/PaketoBuilderTests-plainDistZipJarApp.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ application {
5555

5656
bootBuildImage {
5757
archiveFile = distZip.archiveFile
58-
runImage = "paketobuildpacks/ubuntu-noble-run-base:latest"
58+
runImage = "paketobuildpacks/ubuntu-noble-run:latest"
5959
environment = ['BP_JVM_VERSION': java.targetCompatibility.getMajorVersion()]
6060
}

spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/PaketoBuilderTests-plainWarApp.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ war {
4848

4949
bootBuildImage {
5050
archiveFile = war.archiveFile
51-
runImage = "paketobuildpacks/ubuntu-noble-run-base:latest"
51+
runImage = "paketobuildpacks/ubuntu-noble-run:latest"
5252
environment = ['BP_JVM_VERSION': java.targetCompatibility.getMajorVersion(), 'BP_TOMCAT_VERSION': '10.*']
5353
}

0 commit comments

Comments
 (0)