Closed Gaojianli closed 2 months ago
The changes revamp the Dockerfile by switching to maven:3.9.6-eclipse-temurin-17
from maven:3.9.6-eclipse-temurin-22
, updating the Maven compiler release, adding openjdk21-jre-headless
, and adjusting the PATH
. In the pom.xml
, the Maven compiler configuration was refined to use maven.compiler.release
and standardize <finalName>
properties.
File | Change Summary |
---|---|
Dockerfile | Updated base image to maven:3.9.6-eclipse-temurin-17 , Maven compiler release to 21, added openjdk21-jre-headless , and adjusted PATH . |
pom.xml | Modified Maven compiler settings to utilize maven.compiler.release , standardized <finalName> properties. |
🐰✨ In the realm of bits and bytes, CodeRabbit hops through Docker heights. Maven's tune sings anew, Paths align, the code review. Servers whisper, changes bring, Harmony in every coding string! 🌟🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
不如直接使用特定vendor的openjdk,比在原始系统上安装Java会好一些。
原来的eclipse-temurin:17.0.10_7-jre应该也就290M左右,这样似乎区别不大了,而且官方编译的应该版本控制更加方便而且稳定
之前的那个似乎有点太精简了:
这个PR将其修改为了alpine,但是代价是体积膨胀了:
Summary by CodeRabbit