Skip to content

Commit 0173a01

Browse files
committed
docs: Add more details in README.md file🫸🌀✏️📗🐧🐳
1 parent e0d105d commit 0173a01

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
# spring-boot-docker-without-docker
1+
# 3 Ways to Build Docker Images for Spring Boot Applications
2+
3+
I have three mechanisms in the same pom file which are put under different maven profiles.
4+
5+
- Building Image with Spring Boot Build Plugin:
6+
7+
```shell
8+
mvn clean verify spring-boot:build-image
9+
```
10+
11+
- Building Image with Fabri8:
12+
13+
```shell
14+
mvn clean verify -DskipTests -Pbuild-with-fabric-8
15+
```
16+
17+
18+
- Building Image with JIB:
19+
20+
```shell
21+
mvn clean verify -DskipTests -Pbuild-with-jib
22+
```

0 commit comments

Comments
 (0)