Java 28923 :- Upgrade JIB module to use Boot 3 (#15549)

* Initial Commit

* Set correct base image for JIB 3.X
This commit is contained in:
Amit Pandey 2024-01-05 13:38:18 +05:30 committed by GitHub
parent f91f92b08e
commit 67c4875aff
1 changed files with 7 additions and 3 deletions

View File

@ -8,9 +8,9 @@
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId> <artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath> <relativePath>../../parent-boot-3</relativePath>
</parent> </parent>
<dependencies> <dependencies>
@ -31,6 +31,9 @@
<artifactId>jib-maven-plugin</artifactId> <artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version> <version>${jib-maven-plugin.version}</version>
<configuration> <configuration>
<from>
<image>gcr.io/distroless/java-debian10:11</image>
</from>
<to> <to>
<image>registry.hub.docker.com/baeldungjib/jib-spring-boot-app</image> <image>registry.hub.docker.com/baeldungjib/jib-spring-boot-app</image>
</to> </to>
@ -40,7 +43,8 @@
</build> </build>
<properties> <properties>
<jib-maven-plugin.version>2.5.0</jib-maven-plugin.version> <jib-maven-plugin.version>3.4.0</jib-maven-plugin.version>
<start-class>com.baeldung.Application</start-class>
</properties> </properties>
</project> </project>