Skip to content

Commit 7bf6956

Browse files
committed
fix(docs): update Spring Boot version and add note about version auto-selection (#23407)
1 parent 8cd67d3 commit 7bf6956

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/get-started/docker-concepts/building-images/multi-stage-builds.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
5858
1. [Download and install](https://www.docker.com/products/docker-desktop/) Docker Desktop.
5959

6060

61-
2. Open this [pre-initialized project](https://start.spring.io/#!type=maven-project&language=java&platformVersion=3.4.0-M3&packaging=jar&jvmVersion=21&groupId=com.example&artifactId=spring-boot-docker&name=spring-boot-docker&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.spring-boot-docker&dependencies=web) to generate a ZIP file. Here’s how that looks:
61+
62+
2. Open this [pre-initialized project](https://start.spring.io/#!type=maven-project&language=java&platformVersion=3.4.11&packaging=jar&jvmVersion=21&groupId=com.example&artifactId=spring-boot-docker&name=spring-boot-docker&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.spring-boot-docker&dependencies=web) to generate a ZIP file.
63+
64+
> **Note:** The Spring Boot version in this example (`3.4.11`) may differ in the future as newer versions are released. Spring Initializr will automatically select the latest compatible version if the specified one is unavailable.
6265
6366

6467
![A screenshot of Spring Initializr tool selected with Java 21, Spring Web and Spring Boot 3.4.0](images/multi-stage-builds-spring-initializer.webp?border=true)

0 commit comments

Comments
 (0)