Skip to content

Commit c4177b3

Browse files
committed
Extended docs regarding native build with separate profile.
1 parent 4e3f254 commit c4177b3

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-admin-samples/spring-boot-admin-sample-servlet-graalvm

1 file changed

+2
-2
lines changed

spring-boot-admin-samples/spring-boot-admin-sample-servlet-graalvm/Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ In order to show basic functionalities, the server itself is registered as a cli
99
Make sure to use a GraalVM with a v17-BaseJDK to build the project (e.g. 22.3.r17-grl).
1010

1111
```
12-
$ mvn clean package -Pnative
12+
$ mvn -Pnative native:compile
1313
```
1414

1515
## Build an OCI image that can be run with Docker
1616

1717
```
18-
$ mvn spring-boot:build-image -Dspring-boot.build-image.imageName=spring-boot-admin-sample-servlet-graalvm:latest
18+
$ mvn spring-boot:build-image -Pnative -Dspring-boot.build-image.imageName=spring-boot-admin-sample-servlet-graalvm:latest
1919
```
2020

2121
## Running the example

0 commit comments

Comments
 (0)