docker.io/ringcentral/jdk:17 linux/amd64

docker.io/ringcentral/jdk:17 - 国内下载镜像源 浏览次数:47
```html

这是一个包含RingCentral使用的Java开发工具包(JDK)的Docker镜像。

```
源镜像 docker.io/ringcentral/jdk:17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17
镜像ID sha256:189371ef754276d0708fdbac1268294813a7e7397147d995ee03c697cde01c94
镜像TAG 17
大小 510.03MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口 /__cacert_entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 47 次
贡献者 12*******9@qq.com
镜像创建 2025-01-09T07:10:43.116353088Z
同步时间 2025-03-17 16:46
更新时间 2025-04-03 20:31
环境变量
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=17 JAVA_DETAIL_VERSION=17.0.13 JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions
镜像标签
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/ringcentral/jdk:17
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17  docker.io/ringcentral/jdk:17

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17  docker.io/ringcentral/jdk:17

Shell快速替换命令

sed -i 's#ringcentral/jdk:17#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17  docker.io/ringcentral/jdk:17'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17  docker.io/ringcentral/jdk:17'

镜像构建历史


# 2025-01-09 15:10:43  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c java -version     && javac -version # buildkit
                        
# 2025-01-09 15:10:42  11.23KB 执行命令并创建新的镜像层
RUN /bin/sh -c java FontTest && rm -f FontTest.class # buildkit
                        
# 2025-01-09 15:10:42  1.15KB 复制新文件或目录到容器中
COPY /workspace/app/FontTest.class . # buildkit
                        
# 2025-01-09 15:10:42  90.53MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y     libgcc1     fontconfig     fonts-dejavu     ca-certificates     bash     git     openssh-client     openssl     zip     subversion     sshpass     curl     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2025-01-09 15:10:42  0.00B 设置环境变量 JAVA_VERSION JAVA_DETAIL_VERSION JAVA_TOOL_OPTIONS
ENV JAVA_VERSION=17 JAVA_DETAIL_VERSION=17.0.13 JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions
                        
# 2024-10-23 23:41:32  0.00B 设置默认要执行的命令
CMD ["jshell"]
                        
# 2024-10-23 23:41:32  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/__cacert_entrypoint.sh"]
                        
# 2024-10-23 23:41:32  5.31KB 复制新文件或目录到容器中
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
                        
# 2024-10-23 23:41:32  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
                        
# 2024-10-23 23:41:32  278.57MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        amd64)          ESUM='8682892fc02965930b9022c066fa164dd6f458ef4a5dc262016aa28333b30f49';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_x64_linux_hotspot_17.0.13_11.tar.gz';          ;;        arm64)          ESUM='0c17fa4f14c0d2cc9e9334f996fccdddc5da4459d768f3105c7ff0283c47bf62';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.13_11.tar.gz';          ;;        armhf)          ESUM='e69d43be937e05dbccae4cc98f732ed86aa11993234bf5ad6e81c30475a78ce7';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_arm_linux_hotspot_17.0.13_11.tar.gz';          ;;        ppc64el)          ESUM='d4e553c6fa7afdfe2577420c6e77a558db8113a3cef84e755384148f5610834e';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.13_11.tar.gz';          ;;        riscv64)          ESUM='e7c82833a7381a05cae2be0e947c08e971bbae4f2e4142c6ec87bbd7530a5646';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_riscv64_linux_hotspot_17.0.13_11.tar.gz';          ;;        s390x)          ESUM='1f824d7369dfd570dc561e2a56035fdcd2970c97cbd355f6deb6ed0e7c6bcb79';          BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.13_11.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 -r "${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
                        
# 2024-10-23 23:41:32  0.00B 设置环境变量 JAVA_VERSION
ENV JAVA_VERSION=jdk-17.0.13+11
                        
# 2024-10-23 23:41:32  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
                        
# 2024-10-23 23:41:32  0.00B 设置环境变量 LANG LANGUAGE LC_ALL
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2024-10-23 23:41:32  0.00B 设置环境变量 PATH
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-10-23 23:41:32  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/opt/java/openjdk
                        
# 2024-10-23 23:41:32  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-10-23 23:41:32  78.12MB 
/bin/sh -c #(nop) ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / 
                        
# 2024-10-23 23:41:32  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2024-10-23 23:41:32  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-10-23 23:41:32  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-10-23 23:41:32  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:189371ef754276d0708fdbac1268294813a7e7397147d995ee03c697cde01c94",
    "RepoTags": [
        "ringcentral/jdk:17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk:17"
    ],
    "RepoDigests": [
        "ringcentral/jdk@sha256:6b0562ff88d4ae5d971cc252346454c2ee5cb23a4650c25829e114a24db9d57d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ringcentral/jdk@sha256:6b0562ff88d4ae5d971cc252346454c2ee5cb23a4650c25829e114a24db9d57d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-01-09T07:10:43.116353088Z",
    "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=17",
            "JAVA_DETAIL_VERSION=17.0.13",
            "JAVA_TOOL_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions"
        ],
        "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": 510028336,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/aab126f0b776db23a4ef312445d3ed98c15d7f1908df15fc3733f2f57a844116/diff:/var/lib/docker/overlay2/91e27d228bf77e704ae3c979be5ead3a48a6299f298406bbf1b30a86dbd7a9a6/diff:/var/lib/docker/overlay2/950d91f9620f55c2ae07a234a4cef0dd3d4fbc6ec4fec1074164e3ed79abba10/diff:/var/lib/docker/overlay2/8ec9f4fb782f62e60c7433d297cf2f1688a4b23865d3eaacdb0aff333711e626/diff:/var/lib/docker/overlay2/2abec0f4a7f30625316a6750977e8262c1e70a28b647d40c4fd34640fe66640a/diff:/var/lib/docker/overlay2/6e695d33ed59ebb6c0e1145bc1e5a6c9f0330bf746645b3a29d915bee062cfa4/diff:/var/lib/docker/overlay2/891fd057d7ed89e43660cbdecb9d21f9df126a9554fcd9bfe51734e00555fda5/diff:/var/lib/docker/overlay2/dd9c6c06cee7cbeacd7427404922c280abf5a7156d6a8d1736426b0776ed9b6a/diff",
            "MergedDir": "/var/lib/docker/overlay2/bae92c358a39820e221cbda017fb0ce89b3ba9eb7d33c5eea67efb6e0990c409/merged",
            "UpperDir": "/var/lib/docker/overlay2/bae92c358a39820e221cbda017fb0ce89b3ba9eb7d33c5eea67efb6e0990c409/diff",
            "WorkDir": "/var/lib/docker/overlay2/bae92c358a39820e221cbda017fb0ce89b3ba9eb7d33c5eea67efb6e0990c409/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c",
            "sha256:cd89eea789896f3fd51bdae5fb77280371b150d6cfc0747c7551b43816c85c7f",
            "sha256:a85ed5f6a015635e9cd435ac4581e4743caec02ee18aea687c2b27fdc977faae",
            "sha256:a286de44dc83e04affbd184ff10343c8f827107beeeaf1029afd8e4720523bd3",
            "sha256:f22a04c486a2789e493a4eb287ee5923076098dceea482bfb039a035a3c43789",
            "sha256:b1ad897ed2b18dd4b1315a7436053023e4b91827c6f5bfacf084da164e1965f2",
            "sha256:0ebd2b2332a2f6748905e27297b26fd1e424ca08ef785484ec17b79c9930310f",
            "sha256:667a2f4db4025a84ea4a8238e7e275e80d5236a9c65879d8bed33c6b9c969510",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-17T16:46:39.419712389+08:00"
    }
}

更多版本

docker.io/ringcentral/jdk:17

linux/amd64 docker.io510.03MB2025-03-17 16:46
46