-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrated on Spring Boot 3.2.4 and Java 21
- Loading branch information
1 parent
98ec7da
commit c6b68e8
Showing
7 changed files
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM openjdk:17.0.2-slim as builder | ||
FROM eclipse-temurin:21.0.2_13-jdk-alpine as builder | ||
ARG JAR_FILE=target/*.jar | ||
COPY ${JAR_FILE} library.jar | ||
RUN java -Djarmode=layertools -jar library.jar extract | ||
|
||
FROM openjdk:17.0.2-slim | ||
FROM eclipse-temurin:21.0.2_13-jdk-alpine | ||
VOLUME /tmp | ||
COPY --from=builder dependencies/ ./ | ||
COPY --from=builder snapshot-dependencies/ ./ | ||
COPY --from=builder spring-boot-loader/ ./ | ||
COPY --from=builder application/ ./ | ||
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"] | ||
ENTRYPOINT ["java", "org.springframework.boot.loader.launch.JarLauncher"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM openjdk:17.0.2-slim | ||
FROM eclipse-temurin:21.0.2_13-jdk-alpine | ||
VOLUME /tmp | ||
COPY target/*.jar library.jar | ||
ENTRYPOINT ["java","-jar","/library.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,7 @@ library: | |
size: 0 | ||
|
||
logging: | ||
include-application-name: false | ||
file: | ||
name: library.log | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters