mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-08 12:57:13 +08:00
build(docker): 使用 BellSoft Liberica JDK 17 替代 OpenJDK
将 Dockerfile 中的基础镜像更换为 bellsoft/liberica-openjdk-debian:17.0.14, 该镜像为Spring 官方推荐,具备更好的兼容性与长期支持。 Closes #145
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
FROM openjdk:17
|
||||
# bellsoft/liberica-openjdk-alpine:17.0.14 仅包含必要运行时,体积小(约 128MB),适用于对镜像大小敏感的场景
|
||||
# bellsoft/liberica-openjdk-debian:17.0.14 为全量 JDK 版本,包含更多系统工具与依赖,兼容性更好
|
||||
# 若对镜像大小有严格要求,可将当前镜像替换为 alpine 版本
|
||||
FROM bellsoft/liberica-openjdk-debian:17.0.14
|
||||
|
||||
MAINTAINER Charles7c charles7c@126.com
|
||||
|
||||
|
@@ -1,4 +1,7 @@
|
||||
FROM openjdk:17
|
||||
# bellsoft/liberica-openjdk-alpine:17.0.14 仅包含必要运行时,体积小(约 128MB),适用于对镜像大小敏感的场景
|
||||
# bellsoft/liberica-openjdk-debian:17.0.14 为全量 JDK 版本,包含更多系统工具与依赖,兼容性更好
|
||||
# 若对镜像大小有严格要求,可将当前镜像替换为 alpine 版本
|
||||
FROM bellsoft/liberica-openjdk-debian:17.0.14
|
||||
|
||||
MAINTAINER Charles7c charles7c@126.com
|
||||
|
||||
|
Reference in New Issue
Block a user