docker.io/eclipse-temurin:21-jre linux/amd64

docker.io/eclipse-temurin:21-jre - 国内下载镜像源 浏览次数:793
Temurin is a open-source Java implementation based on OpenJDK, providing compatibility with Oracle JDK and JRE. Eclipse Temurin provides better performance, improved security features and supports for newer Java versions. It's a popular choice for running Java applications in containerized environments like Docker.
源镜像 docker.io/eclipse-temurin:21-jre
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre
镜像ID sha256:fdadb190b1b848247dc8e7be53de605017e57e1dc213860ccd495f6fdd65ade6
镜像TAG 21-jre
大小 279.46MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /__cacert_entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 793 次
贡献者
镜像创建 2024-04-23T20:51:38Z
同步时间 2024-07-16 11:28
更新时间 2025-01-18 10:42
环境变量
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.3+9
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre  docker.io/eclipse-temurin:21-jre

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre  docker.io/eclipse-temurin:21-jre

Shell快速替换命令

sed -i 's#eclipse-temurin:21-jre#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-04-24 04:51:38  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2024-04-24 04:51:38  1.18KB 复制新文件或目录到容器中
COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit
                        
# 2024-04-24 04:51:38  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     echo "Verifying install ...";     echo "java --version"; java --version;     echo "Complete." # buildkit
                        
# 2024-04-24 04:51:38  165.50MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        aarch64|arm64)          ESUM='c7c31bc6f5ab4c4b6f4559e11c2fa9541ae6757ab8da6dd85c29163913bd9238';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.3_9.tar.gz';          ;;        amd64|i386:x86-64)          ESUM='f1af100c4afca2035f446967323230150cfe5872b5a664d98c86963e5c066e0d';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz';          ;;        ppc64el|powerpc:common64)          ESUM='aa628c6accc9d075b7b0f2bff6487f8ca0b8f057af31842a85fc8b363e1e10f3';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.3_9.tar.gz';          ;;        s390x|s390:64-bit)          ESUM='a60dbad08a1977269dec7782f90225107479bfc8d10d2894f437778ae2e2b737';          BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_s390x_linux_hotspot_21.0.3_9.tar.gz';          ;;        *)          echo "Unsupported arch: ${ARCH}";          exit 1;          ;;     esac;     wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL};     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
                        
# 2024-04-24 04:51:38  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-21.0.3+9
                        
# 2024-04-24 04:51:38  36.09MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     apt-get update;     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         curl         wget         fontconfig         ca-certificates p11-kit         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
                        
# 2024-04-24 04:51:38  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2024-04-24 04:51:38  0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-04-24 04:51:38  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
                        
# 2024-06-28 04:10:12  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-06-28 04:10:12  77.86MB 
/bin/sh -c #(nop) ADD file:d5da92199726e42da09a6f75a778befb607fe3f79e4afaf7ef5188329b26b386 in / 
                        
# 2024-06-28 04:10:10  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-06-28 04:10:10  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-06-28 04:10:10  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-06-28 04:10:10  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:fdadb190b1b848247dc8e7be53de605017e57e1dc213860ccd495f6fdd65ade6",
    "RepoTags": [
        "eclipse-temurin:21-jre",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin:21-jre"
    ],
    "RepoDigests": [
        "eclipse-temurin@sha256:76307c251d4aa3fdcc1d964ea81621f6660ea8f82f5a578f901918346a8ff106",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-temurin@sha256:a27c02edfa3f83fe6b883ea04b7c68685ba50ecf180c1ce5aa0aca46a9cb7fc7"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-04-23T20:51:38Z",
    "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.3+9"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/__cacert_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 279456389,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2208db1ef68a5cc79371ae5054d54951989487bbc0025e11fb07efda79f6a9a5/diff:/var/lib/docker/overlay2/0a3e9ca4b29ed7f57fcadd062883bd7467778e5bead587b34bd8fbb28955213f/diff:/var/lib/docker/overlay2/5b0cd52fb5fc439b67ef55ded2cf709025e753b71663b84fdd08b1ed487f4bad/diff:/var/lib/docker/overlay2/d7351bf99f5aa7aadb640bb984157d7376c627eb72c0bfcbfc73472beb95f804/diff",
            "MergedDir": "/var/lib/docker/overlay2/9f1480024b90890339a886c0eea7699d422df6e1e96dfb7f6c4522b5169a6944/merged",
            "UpperDir": "/var/lib/docker/overlay2/9f1480024b90890339a886c0eea7699d422df6e1e96dfb7f6c4522b5169a6944/diff",
            "WorkDir": "/var/lib/docker/overlay2/9f1480024b90890339a886c0eea7699d422df6e1e96dfb7f6c4522b5169a6944/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:931b7ff0cb6f494b27d31a4cbec3efe62ac54676add9c7469560302f1541ecaf",
            "sha256:6b55d85ee844ac1096379dafa9837432ea986dc7b35af93798aaae7938a042b8",
            "sha256:66da9d35ee792d3e3889daa41f2903bbd8534164f98d4a882743f207f187a974",
            "sha256:2c097e8a031d2a71601e1664ec56787675ad3dbb313968d33327799bc754e9d8",
            "sha256:1003b8fe745dd8a101e9f091e8194dca16b8cf733d26a084d586afe71a1ad802"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-16T11:28:23.370104865+08:00"
    }
}

更多版本

docker.io/eclipse-temurin:21-jre

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

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

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

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

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

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

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

docker.io/eclipse-temurin:8-jdk

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

docker.io/eclipse-temurin:8-jre

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

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

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

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

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

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

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