docker.io/eclipse-temurin:21.0.6_7-jdk-noble linux/amd64

docker.io/eclipse-temurin:21.0.6_7-jdk-noble - 国内下载镜像源 浏览次数:71

镜像描述

eclipse-temurin镜像提供了OpenJDK的预构建版本,由Adoptium项目维护。它旨在提供高质量、经过测试和认证的OpenJDK发行版,可用于开发和运行Java应用程序。

此镜像适用于需要OpenJDK环境的Docker容器,简化了Java应用程序的部署流程。它包含了必要的运行时环境,例如JVM和Java类库,以便您可以直接在容器中运行Java代码。

源镜像 docker.io/eclipse-temurin:21.0.6_7-jdk-noble
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble
镜像ID sha256:67e97e045e0efa3af8608ccbd09d14401374afd1772923d21c3db2e4f166ac30
镜像TAG 21.0.6_7-jdk-noble
大小 447.46MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口 /__cacert_entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 71 次
贡献者
镜像创建 2025-01-30T14:32:57Z
同步时间 2025-03-13 14:45
更新时间 2025-04-03 22:33
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/opt/java/openjdk LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-21.0.6+7
镜像标签
ubuntu: org.opencontainers.image.ref.name 24.04: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble  docker.io/eclipse-temurin:21.0.6_7-jdk-noble

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble  docker.io/eclipse-temurin:21.0.6_7-jdk-noble

Shell快速替换命令

sed -i 's#eclipse-temurin:21.0.6_7-jdk-noble#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble  docker.io/eclipse-temurin:21.0.6_7-jdk-noble'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble  docker.io/eclipse-temurin:21.0.6_7-jdk-noble'

镜像构建历史


# 2025-01-30 22:32:57  0.00B 设置默认要执行的命令
CMD ["jshell"]
                        
# 2025-01-30 22:32:57  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2025-01-30 22:32:57  5.31KB 复制新文件或目录到容器中
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
                        
# 2025-01-30 22:32:57  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     echo "Verifying install ...";     fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java;     echo "javac --version"; javac --version;     echo "java --version"; java --version;     echo "Complete." # buildkit
                        
# 2025-01-30 22:32:57  306.54MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        amd64)          ESUM='a2650fba422283fbed20d936ce5d2a52906a5414ec17b2f7676dddb87201dbae';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_linux_hotspot_21.0.6_7.tar.gz';          ;;        arm64)          ESUM='04fe1273f624187d927f1b466e8cdb630d70786db07bee7599bfa5153060afd3';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.6_7.tar.gz';          ;;        ppc64el)          ESUM='163724b70b86d5a8461f85092165a9cc5a098ed900fee90d1b0c0be9607ae3d2';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.6_7.tar.gz';          ;;        riscv64)          ESUM='203796e4ba2689aa921b5e0cdc9e02984d88622f80fcb9acb05a118b05007be8';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_riscv64_linux_hotspot_21.0.6_7.tar.gz';          ;;        s390x)          ESUM='5ba742c87d48fcf564def56812699f6499a1cfd3535ae43286e94e74b8165faf';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.6_7.tar.gz';          ;;        *)          echo "Unsupported arch: ${ARCH}";          exit 1;          ;;     esac;     wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL};     wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig;     export GNUPGHOME="$(mktemp -d)";     gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B;     gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz;     rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig;     echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -;     mkdir -p "$JAVA_HOME";     tar --extract         --file /tmp/openjdk.tar.gz         --directory "$JAVA_HOME"         --strip-components 1         --no-same-owner     ;     rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip;     find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf;     ldconfig;     java -Xshare:dump; # buildkit
                        
# 2025-01-30 22:32:57  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-21.0.6+7
                        
# 2025-01-30 22:32:57  62.79MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     apt-get update;     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         curl         wget         gnupg         fontconfig         ca-certificates p11-kit         binutils         tzdata         locales     ;     echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen;     locale-gen en_US.UTF-8;     rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2025-01-30 22:32:57  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2025-01-30 22:32:57  0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-01-30 22:32:57  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
                        
# 2025-01-27 12:14:03  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-01-27 12:14:03  78.13MB 
/bin/sh -c #(nop) ADD file:6df775300d76441aa33f31b22c1afce8dfe35c8ffbc14ef27c27009235b12a95 in / 
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:67e97e045e0efa3af8608ccbd09d14401374afd1772923d21c3db2e4f166ac30",
    "RepoTags": [
        "eclipse-temurin:21.0.6_7-jdk-noble",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21.0.6_7-jdk-noble"
    ],
    "RepoDigests": [
        "eclipse-temurin@sha256:81eb35bebddbc3af193bb4c9346d480a2a7ae0f1ec10e54d675bc3ba936ac113",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin@sha256:6a4bec2ab483a20afbe2e06702cc0ac7985a977a534e74bca4745e58e16701c6"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-01-30T14:32:57Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/opt/java/openjdk",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-21.0.6+7"
        ],
        "Cmd": [
            "jshell"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/__cacert_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 447461560,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8f4a9a0592661928bc77ad9ff7a0a232d5db225bbb1c9ceb6fa29e6b1da07f6d/diff:/var/lib/docker/overlay2/41f755eaac85c91b396b3734bfd6d03047c57045f7286123cdba83debb9b2448/diff:/var/lib/docker/overlay2/97a654f1cb3602803db13d5b70abd9e89506612a030ade4e15e82540f4af0c6e/diff:/var/lib/docker/overlay2/d5ba5778451cb9d6cd53a762324cbf17a65345e17306b42b60d69ba8f9186927/diff",
            "MergedDir": "/var/lib/docker/overlay2/ec9693c3c3ecb10d1c5b90a031b74fbb6125de51e03991be693c32cc9b0269ed/merged",
            "UpperDir": "/var/lib/docker/overlay2/ec9693c3c3ecb10d1c5b90a031b74fbb6125de51e03991be693c32cc9b0269ed/diff",
            "WorkDir": "/var/lib/docker/overlay2/ec9693c3c3ecb10d1c5b90a031b74fbb6125de51e03991be693c32cc9b0269ed/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4b7c01ed0534d4f9be9cf97d068da1598c6c20b26cb6134fad066defdb6d541d",
            "sha256:3359bc3d7a6a1f94c063d743f3ebd025e299dfbbbb1d48afe18a90e4d5e1f36f",
            "sha256:f844dcf94898d99c5a27de863a79e15d5353a6802f1804d01475be0e7b23221f",
            "sha256:39cf0ac89a5a18bb69e6cc51b9f37eb9025b0bc85a7433d2ef85256810804361",
            "sha256:4e5b554b734518d308942fd75da104b3dc27a25676fa51ce8d36a40e4a5f2491"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-13T14:45:27.184274269+08:00"
    }
}

更多版本

docker.io/eclipse-temurin:21-jre

linux/amd64 docker.io279.46MB2024-07-16 11:28
1052

docker.io/eclipse-temurin:21.0.4_7-jdk-alpine

linux/amd64 docker.io346.73MB2024-09-05 10:13
458

docker.io/eclipse-temurin:17.0.12_7-jdk-alpine

linux/amd64 docker.io317.89MB2024-09-13 22:10
317

docker.io/eclipse-temurin:17.0.12_7-jre-alpine

linux/amd64 docker.io166.94MB2024-09-23 13:55
363

docker.io/eclipse-temurin:8-jdk

linux/amd64 docker.io320.28MB2024-10-09 11:36
443

docker.io/eclipse-temurin:8-jre

linux/amd64 docker.io231.06MB2024-10-24 15:30
338

docker.io/eclipse-temurin:21.0.5_11-jre-noble

linux/amd64 docker.io286.86MB2024-11-06 15:05
148

docker.io/eclipse-temurin:17-jdk-jammy

linux/amd64 docker.io413.23MB2024-11-14 15:41
213

docker.io/eclipse-temurin:17.0.13_11-jdk-alpine

linux/amd64 docker.io335.97MB2024-12-02 08:14
124

docker.io/eclipse-temurin:21.0.6_7-jre-noble

linux/amd64 docker.io286.88MB2025-02-11 09:16
102

docker.io/eclipse-temurin:11.0.22_7-jdk-jammy

linux/amd64 docker.io392.33MB2025-02-13 16:16
77

docker.io/eclipse-temurin:11.0.22_7-jre-jammy

linux/amd64 docker.io254.70MB2025-02-13 16:28
88

docker.io/eclipse-temurin:23.0.2_7-jre-alpine-3.21

linux/amd64 docker.io204.46MB2025-02-24 23:14
69

docker.io/eclipse-temurin:23.0.2_7-jre-alpine-3.21

linux/arm64 docker.io204.72MB2025-02-24 23:15
61

docker.io/eclipse-temurin:21.0.6_7-jdk-noble

linux/amd64 docker.io447.46MB2025-03-13 14:45
70