镜像概述和主要用途
注意: 这是https://hub.docker.com/_/eclipse-temurin的`arm64v8`架构专用仓库。有关更多信息,请参见官方镜像文档中的https://github.com/docker-library/official-images#architectures-other-than-amd64和官方镜像FAQ中的https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what。
该仓库中的镜像包含由Eclipse Temurin构建的OpenJDK二进制文件,提供高性能、企业级、跨平台、开源许可且通过Java SE TCK测试的Java运行时环境,适用于Java生态系统的通用使用。
核心功能和特性
- 提供多个Java版本(8、11、17、21、25)的JDK和JRE环境
- 基于多种基础镜像(Ubuntu Jammy、Ubuntu Noble、UBI10 Minimal、UBI9 Minimal、Alpine)
- 支持非root用户运行,符合安全最佳实践
- 可自定义CA证书添加到信任存储
- 提供精简的Alpine版本,最小化镜像大小
- 所有构建均通过Java SE TCK测试,确保兼容性和可靠性
使用场景和适用范围
- Java应用程序的容器化部署
- 开发环境中的Java运行时
- CI/CD流水线中的Java构建环境
- 需要特定Java版本的应用程序部署
- 对镜像大小有严格要求的场景(Alpine变体)
- 企业级Java应用的生产环境部署
支持的标签和Dockerfile链接
简单标签(Simple Tags)
Java 8
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jdk/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jdk/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jdk/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jdk/ubi/ubi9-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jre/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jre/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jre/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/8/jre/ubi/ubi9-minimal/Dockerfile
Java 11
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jdk/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jdk/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jdk/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jdk/ubi/ubi9-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jre/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jre/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jre/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/11/jre/ubi/ubi9-minimal/Dockerfile
Java 17
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jdk/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jdk/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jdk/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jdk/ubi/ubi9-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jre/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jre/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jre/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/17/jre/ubi/ubi9-minimal/Dockerfile
Java 21
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/alpine/3.20/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/alpine/3.21/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/alpine/3.22/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/ubi/ubi10-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jdk/ubi/ubi9-minimal/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/alpine/3.20/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/alpine/3.21/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/alpine/3.22/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/ubuntu/jammy/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/ubuntu/noble/Dockerfile
- https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/ubi/ubi10-minimal/Dockerfile
- [
21.0.8_9-jre-ubi9-minimal, 21-jre-ubi9-minimal](https://github.com/adoptium/containers/blob/fc54f27893bb7c1ffb1d7eb82f2d22d7605e57bc/21/jre/ubi/ubi