File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 66 <version >0.1</version >
77 <properties >
88 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
9- <maven .compiler.source>11 </maven .compiler.source>
10- <maven .compiler.target>11 </maven .compiler.target>
9+ <maven .compiler.source>17 </maven .compiler.source>
10+ <maven .compiler.target>17 </maven .compiler.target>
1111 <main .class>org.voovan.VoovanTFB</main .class>
1212 </properties >
1313 <dependencies >
Original file line number Diff line number Diff line change 1- FROM maven:3.6.1-jdk-11-slim as maven
1+ FROM maven:3-eclipse-temurin-24-alpine as maven
22WORKDIR /voovan
33COPY pom.xml pom.xml
44COPY src src
55COPY config/framework.properties config/framework.properties
66RUN mvn package -q
77
8- FROM openjdk:11.0.3-jdk -slim
8+ FROM openjdk:25-ea -slim-bullseye
99WORKDIR /voovan
1010COPY --from=maven /voovan/target/voovan-bench-0.1-jar-with-dependencies.jar app.jar
1111COPY --from=maven /voovan/config/framework.properties config/framework.properties
@@ -24,5 +24,12 @@ CMD java -DCheckTimeout=false \
2424 -XX:+AlwaysPreTouch \
2525 -XX:-RestrictContended \
2626 -XX:+UseParallelGC -XX:+UseNUMA \
27- -XX:+AggressiveOpts -XX:+UseBiasedLocking \
27+ --add-opens java.base/java.lang=ALL-UNNAMED \
28+ --add-opens java.base/java.util=ALL-UNNAMED \
29+ --add-opens java.base/java.io=ALL-UNNAMED \
30+ --add-opens java.base/java.nio=ALL-UNNAMED \
31+ --add-opens java.base/sun.nio.ch=ALL-UNNAMED \
32+ --add-opens java.base/java.security=ALL-UNNAMED \
33+ --add-opens java.base/java.util.concurrent=ALL-UNNAMED \
34+ --add-opens java.base/java.net=ALL-UNNAMED \
2835 -cp ./config:voovan.jar:app.jar org.voovan.VoovanTFB
You can’t perform that action at this time.
0 commit comments