From a9318682fdb602f95210f7402ad7b362db2959af Mon Sep 17 00:00:00 2001 From: Ajeet Singh Raina Date: Tue, 12 Nov 2024 22:24:56 +0530 Subject: [PATCH] Removed Java as a pre-requisite for Multi-Stage Build Concept page --- .../docker-concepts/building-images/multi-stage-builds.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/get-started/docker-concepts/building-images/multi-stage-builds.md b/content/get-started/docker-concepts/building-images/multi-stage-builds.md index e018690ff9..7e45aa8f81 100644 --- a/content/get-started/docker-concepts/building-images/multi-stage-builds.md +++ b/content/get-started/docker-concepts/building-images/multi-stage-builds.md @@ -57,9 +57,8 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create 1. [Download and install](https://www.docker.com/products/docker-desktop/) Docker Desktop. -2. [Download and install](https://www.oracle.com/java/technologies/downloads/) Java. -3. 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: +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: ![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) @@ -72,7 +71,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create For this demonstration, you’ve paired Maven build automation with Java, a Spring Web dependency, and Java 21 for your metadata. -4. Navigate the project directory. Once you unzip the file, you'll see the following project directory structure: +3. Navigate the project directory. Once you unzip the file, you'll see the following project directory structure: ```plaintext @@ -109,7 +108,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create contains most of the information needed to build a customized project. The POM is huge and can seem daunting. Thankfully, you don't yet need to understand every intricacy to use it effectively. -5. Create a RESTful web service that displays "Hello World!". +4. Create a RESTful web service that displays "Hello World!". Under the `src/main/java/com/example/spring_boot_docker/` directory, you can modify your