-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
java-native/simplecode/gradle/wrapper/gradle-wrapper.properties
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,5 +1,6 @@ | ||
#Thu Jan 02 20:40:38 UTC 2025 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
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,10 +1,21 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore | ||
org.eclipse.jdt.core.compiler.annotation.nonnull=org.springframework.lang.NonNull | ||
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.springframework.lang.NonNullApi | ||
org.eclipse.jdt.core.compiler.annotation.nullable=org.springframework.lang.Nullable | ||
org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled | ||
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 | ||
org.eclipse.jdt.core.compiler.compliance=17 | ||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning | ||
org.eclipse.jdt.core.compiler.problem.nullReference=warning | ||
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning | ||
org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=ignore | ||
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning | ||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore | ||
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=enabled | ||
org.eclipse.jdt.core.compiler.processAnnotations=disabled | ||
org.eclipse.jdt.core.compiler.release=enabled | ||
org.eclipse.jdt.core.compiler.source=17 |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM maven:3-eclipse-temurin-17 AS build | ||
FROM maven:3-eclipse-temurin-21 AS build | ||
RUN mkdir -p /opt/app/src | ||
COPY src /opt/app/src | ||
COPY pom.xml /opt/app | ||
RUN --mount=type=cache,target=/root/.m2 mvn -f /opt/app/pom.xml clean package | ||
|
||
FROM eclipse-temurin:17-jre | ||
FROM eclipse-temurin:21-jre | ||
RUN mkdir -p /opt/app | ||
COPY --from=build /opt/app/target/simplecode-0.0.1-SNAPSHOT.jar /opt/app.jar | ||
CMD ["java","-jar","/opt/app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM ibm-semeru-runtimes:open-17-jre | ||
FROM ibm-semeru-runtimes:open-21-jre | ||
COPY target/simplecode-0.0.1-SNAPSHOT.jar /opt/app.jar | ||
CMD ["java", "-jar", "/opt/app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM eclipse-temurin:17-jre | ||
FROM eclipse-temurin:21-jre | ||
COPY target/simplecode-0.0.1-SNAPSHOT.jar /opt/app.jar | ||
CMD ["java", "-jar", "/opt/app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM eclipse-temurin:17-jre | ||
FROM eclipse-temurin:21-jre | ||
COPY target/simplecode-0.0.1-SNAPSHOT.jar /opt/app.jar | ||
CMD ["java","-XX:+UseParallelGC","-XX:MaxRAMPercentage=75","-jar", "/opt/app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM eclipse-temurin:17-jre | ||
FROM eclipse-temurin:21-jre | ||
COPY target/simplecode-0.0.1-SNAPSHOT.jar /opt/app.jar | ||
CMD ["java", "-jar", "/opt/app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM ubuntu:22.04 | ||
RUN apt update && apt install openjdk-17-jre-headless -y | ||
FROM ubuntu:latest | ||
RUN apt update && apt install openjdk-21-jre-headless -y | ||
COPY target/simplecode-0.0.1-SNAPSHOT.jar /opt/app.jar | ||
CMD ["java","-jar","/opt/app.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