Skip to content

Commit 6365079

Browse files
authored
Update build_and_execute_guide.adoc
1 parent 1d3b29e commit 6365079

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

build_and_execute_guide.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,26 @@ endif::[]
7272
In this section, we will describe four different ways to run this guide:
7373

7474
1. https://docs.spring.io/spring-boot/docs/current/reference/html/using.html#using.build-systems[Building and executing a JAR file]
75-
2. https://docs.spring.io/spring-boot/docs/current/reference/html/container-images.html#container-images.buildpacks[Building and executing a Docker container, using Cloud Native Buildpacks^]
75+
2. https://docs.spring.io/spring-boot/docs/current/reference/html/container-images.html#container-images.buildpacks[Building and executing a Docker container using Cloud Native Buildpacks^]
7676
3. https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.native-build-tools[Building and executing a native image^]
77-
4. https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.buildpacks[Building and executing a native image container, using Cloud Native Buildpacks^]
77+
4. https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.buildpacks[Building and executing a native image container using Cloud Native Buildpacks^]
7878

7979
Regardless of how you choose to execute the application, the output should be the same.
8080

8181
To run the application, you can package the application as an executable jar.
82-
The command `{jar_build_command}` will compile the application to an executable jar.
83-
You can then run the jar with the command `{jar_run_command}`
82+
The `{jar_build_command}` command compiles the application to an executable jar.
83+
You can then run the jar with the `{jar_run_command}` command.
8484

8585
Alternatively, if you have a Docker environment available, you could create a Docker image directly from your Maven or Gradle plugin, using buildpacks.
8686
With https://docs.spring.io/spring-boot/docs/current/reference/html/container-images.html#container-images.buildpacks[Cloud Native Buildpacks^], you can create Docker compatible images that you can run anywhere.
8787
Spring Boot includes buildpack support directly for both Maven and Gradle.
8888
This means you can type a single command and quickly get a sensible image into a locally running Docker daemon.
89-
To create a Docker image using Cloud Native Buildpacks, run the command `{image_build_command}`.
90-
With a Docker environment enabled, you can execute the application with the command `{image_run_command}`
89+
To create a Docker image using Cloud Native Buildpacks, run the `{image_build_command}` command.
90+
With a Docker environment enabled, you can run the application with the `{image_run_command}` command.
9191

9292
ifdef::network_container[]
9393
NOTE: The `--network` flag tells Docker to attach our guide container to the existing network that our external container is using.
94-
More information about this can be found in the https://docs.docker.com/network/#container-networks[Docker documentation^].
94+
You can find more information in the https://docs.docker.com/network/#container-networks[Docker documentation^].
9595
endif::[]
9696

9797
=== Native Image Support
@@ -110,7 +110,7 @@ ifdef::custom_hint_include_file[]
110110
include::{custom_hint_include_file}
111111
endif::[]
112112

113-
You can run the command `{native_build_command}` to generate a native image. When the build completes, you will be able to run the code with a near instantaneous start up time by executing the command `{native_run_command}`.
113+
You can then run the `{native_build_command}` command to generate a native image. When the build completes, you will be able to run the code with a near-instantaneous start up time by executing the `{native_run_command}` command.
114114

115115
ifeval::["{build_system}" == "maven"]
116116
To create https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.buildpacks.maven[native image container using Maven] you should ensure that your `pom.xml` file uses the `spring-boot-starter-parent` and the `org.graalvm.buildtools:native-maven-plugin`. This plugin should be located in the `<build> <plugins>` section:
@@ -122,6 +122,6 @@ To create https://docs.spring.io/spring-boot/docs/current/reference/html/native-
122122
----
123123
endif::[]
124124

125-
You can also create a https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.buildpacks[Native Image using Buildpacks^]. You can generate a native image by running the command `{native_image_build_command}`. Once the build completes, you can start your application with the command `{native_image_run_command}`
125+
You can also create a https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.buildpacks[Native Image using Buildpacks^]. You can generate a native image by running the `{native_image_build_command}` command. Once the build completes, you can start your application with the `{native_image_run_command}` command.
126126

127127

0 commit comments

Comments
 (0)