Overview
- Full name
docker.io/bellsoft/liberica-openjre-rocky- Registry
- docker.io
- Namespace
- bellsoft
- Repository
- liberica-openjre-rocky
- Cached tags
- 510
- Last synced
- 07/06/2026, 04:26 PM
Introduction
BellSoft Liberica OpenJRE 基于 Rocky Linux 的运行时基础镜像,供 Java 应用 Dockerfile 多阶段构建的 runtime 阶段使用。
Details
bellsoft/liberica-openjre-rocky 提供经过 TCK 认证的 OpenJDK JRE,基于 Rocky Linux glibc 环境,常见 tag 区分 major 版本(11、17、21 等)。镜像不是独立业务服务,而是 FROM ... AS runtime 复制 jar/war 后的最终层。与 eclipse-temurin 相比 Liberica 在部分企业支持合约下提供 LTS 补丁;构建时应 pin 具体 tag 而非 latest,并配合 distroless 或 scratch 评估攻击面。
快速启动
docker run --rm docker.io/bellsoft/liberica-openjre-rocky:17 \
java -version
推荐实践
# Dockerfile 片段示例
# FROM bellsoft/liberica-openjre-rocky:17.0.12-10-cds AS runtime
# COPY --from=build /app/target/app.jar /app.jar
# ENTRYPOINT ["java", "-jar", "/app.jar"]
docker build -t my-java-app:1.0 .
核心参数说明
- 角色 — JRE 基础层,非 HTTP 服务
- tag 格式 — major 或完整版本号(如 17.0.12-10-cds)
- Rocky 基础 — 与 RHEL 系 glibc 兼容
- 多阶段 — 仅 runtime 阶段引用,减小最终镜像
- 固定 tag — 避免 JDK 安全补丁漂移
- 禁止 — 勿 docker run 期望得到业务 API
Latest tags (20)
View all 510 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/bellsoft/liberica-openjre-rocky :latest-cds | linux/arm64/v8linux/amd64 | 2026/04/24 22:26 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :26-cds | linux/arm64/v8linux/amd64 | 2026/04/24 22:25 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :26.0.1-cds | linux/arm64/v8linux/amd64 | 2026/04/24 22:25 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :26.0.1-10-cds | linux/arm64/v8linux/amd64 | 2026/04/24 22:24 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :latest | linux/arm64/v8linux/amd64 | 2026/04/24 22:17 | 103.0 MB | sha256:5c4afba00543… | |||
docker.io/bellsoft/liberica-openjre-rocky :26 | linux/arm64/v8linux/amd64 | 2026/04/24 22:16 | 103.0 MB | sha256:5c4afba00543… | |||
docker.io/bellsoft/liberica-openjre-rocky :26.0.1 | linux/arm64/v8linux/amd64 | 2026/04/24 22:16 | 103.0 MB | sha256:5c4afba00543… | |||
docker.io/bellsoft/liberica-openjre-rocky :26.0.1-10 | linux/arm64/v8linux/amd64 | 2026/04/24 22:15 | 103.0 MB | sha256:5c4afba00543… | |||
docker.io/bellsoft/liberica-openjre-rocky :latest-cds-aarch64 | linux/arm64/v8 | 2026/04/24 22:08 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :26-cds-aarch64 | linux/arm64/v8 | 2026/04/24 22:07 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :26.0.1-cds-aarch64 | linux/arm64/v8 | 2026/04/24 22:07 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :26.0.1-10-cds-aarch64 | linux/arm64/v8 | 2026/04/24 22:06 | 118.4 MB | sha256:e17a626e1862… | |||
docker.io/bellsoft/liberica-openjre-rocky :21-cds | linux/arm64/v8linux/amd64 | 2026/04/24 21:39 | 108.7 MB | sha256:e8557e0409f4… | |||
docker.io/bellsoft/liberica-openjre-rocky :21.0.11-cds | linux/arm64/v8linux/amd64 | 2026/04/24 21:39 | 108.7 MB | sha256:e8557e0409f4… | |||
docker.io/bellsoft/liberica-openjre-rocky :21.0.11-11-cds | linux/arm64/v8linux/amd64 | 2026/04/24 21:39 | 108.7 MB | sha256:e8557e0409f4… | |||
docker.io/bellsoft/liberica-openjre-rocky :21 | linux/arm64/v8linux/amd64 | 2026/04/24 21:32 | 101.7 MB | sha256:2df410eb8b21… | |||
docker.io/bellsoft/liberica-openjre-rocky :21.0.11 | linux/arm64/v8linux/amd64 | 2026/04/24 21:32 | 101.7 MB | sha256:2df410eb8b21… | |||
docker.io/bellsoft/liberica-openjre-rocky :21.0.11-11 | linux/arm64/v8linux/amd64 | 2026/04/24 21:32 | 101.7 MB | sha256:2df410eb8b21… | |||
docker.io/bellsoft/liberica-openjre-rocky :21-cds-aarch64 | linux/arm64/v8 | 2026/04/24 21:26 | 108.7 MB | sha256:e8557e0409f4… | |||
docker.io/bellsoft/liberica-openjre-rocky :21.0.11-cds-aarch64 | linux/arm64/v8 | 2026/04/24 21:25 | 108.7 MB | sha256:e8557e0409f4… |