docker.io/openjdk:8u342 linux/arm64

docker.io/openjdk:8u342 - 国内下载镜像源 浏览次数:55 安全受验证的发布者-OpenJdk 温馨提示: 这是一个 linux/arm64 系统架构镜像

openjdk 是一个基于 Oracle JDK 的 Docker 镜像,用于在 Linux 和 Windows 平台上运行 Java 应用程序。它提供了完整的 Java Runtime Environment(JRE),包括 JVM、类库和工具。

源镜像 docker.io/openjdk:8u342
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64
镜像ID sha256:6fbf41d7a67939f45a51bc0b3eda2eaaeee12d24a72c5e65208d811d380604f0
镜像TAG 8u342-linuxarm64
大小 520.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/arm64
浏览量 55 次
贡献者
镜像创建 2022-08-02T04:51:52.071870852Z
同步时间 2024-11-07 17:41
更新时间 2024-11-21 07:14
环境变量
PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/local/openjdk-8 LANG=C.UTF-8 JAVA_VERSION=8u342
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.4 扫描引擎: Trivy 扫描时间: 2024-11-07 17:41

低危漏洞:184 中危漏洞:147 高危漏洞:154 严重漏洞:36

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64  docker.io/openjdk:8u342

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64  docker.io/openjdk:8u342

Shell快速替换命令

sed -i 's#openjdk:8u342#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64  docker.io/openjdk:8u342'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64  docker.io/openjdk:8u342'

镜像历史

大小 创建时间 层信息
212.19MB 2022-08-02 12:51:52 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jdk_x64_linux_8u342b07.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jdk_aarch64_linux_8u342b07.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; wget --progress=dot:giga -O openjdk.tgz.asc "$downloadUrl.sign"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --keyserver keyserver.ubuntu.com --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/jre/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; javac -version; java -version
0.00B 2022-08-02 12:51:41 /bin/sh -c #(nop) ENV JAVA_VERSION=8u342
0.00B 2022-08-02 12:51:40 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-08-02 12:51:39 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
27.00B 2022-08-02 12:51:38 /bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ] # backwards compatibility
0.00B 2022-08-02 12:51:37 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
11.25MB 2022-08-02 12:47:40 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
150.28MB 2022-08-02 09:24:49 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
17.98MB 2022-08-02 09:24:32 /bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
10.53MB 2022-08-02 09:24:26 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
0.00B 2022-08-02 08:40:25 /bin/sh -c #(nop) CMD ["bash"]
117.92MB 2022-08-02 08:40:24 /bin/sh -c #(nop) ADD file:5972a7ce0f1d89d63e5ed48011838c998fa506cd34f8e5f0b0070039cd74c5b9 in /

镜像信息

{
    "Id": "sha256:6fbf41d7a67939f45a51bc0b3eda2eaaeee12d24a72c5e65208d811d380604f0",
    "RepoTags": [
        "openjdk:8u342",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-linuxarm64"
    ],
    "RepoDigests": [
        "openjdk@sha256:86e863cc57215cfb181bd319736d0baf625fe8f150577f9eb58bd937f5452cb8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:53ff4b6f85a89d88a34a0e8a00f1df940d15aee8cc1c717f919cc368ece0218e"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-02T04:51:52.071870852Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/local/openjdk-8",
            "LANG=C.UTF-8",
            "JAVA_VERSION=8u342"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:2e49dce81936d19e0653f7c4dfdf04de1c594eae59d4050030c21652c3865dd1",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 520155667,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e42eb0858f4103ca2ff7f2e526d2f8002573948f3c563d43f00941bbc2b46582/diff:/var/lib/docker/overlay2/6f288b341ba706bc4f29748f57093d3ba3a52b83f8d89ad4a276de2a3c0c5781/diff:/var/lib/docker/overlay2/53c1e8c75e9fd3a5fe67092091f27aea4ad332a6f720e8ade69bf8c6989408bb/diff:/var/lib/docker/overlay2/7cc5ced6f87b487a803eb3b41670d57d05bbea59622efc6ad980f2e3237a6d64/diff:/var/lib/docker/overlay2/5bb06d0f83b70ab50f69438b8237ef406bf82f93bdfa0aa0b10bbfa6f9113b04/diff:/var/lib/docker/overlay2/416d8d9647644e65bb58dec24966113127c3a310f2ea19e819d723e3a223bd4d/diff",
            "MergedDir": "/var/lib/docker/overlay2/43b8ba1bbb2971e651192f8351af6a94fd737487f0815b8c3e66c946dc1a396e/merged",
            "UpperDir": "/var/lib/docker/overlay2/43b8ba1bbb2971e651192f8351af6a94fd737487f0815b8c3e66c946dc1a396e/diff",
            "WorkDir": "/var/lib/docker/overlay2/43b8ba1bbb2971e651192f8351af6a94fd737487f0815b8c3e66c946dc1a396e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bd245ec49ee5cd979b20c0a4efd32385afca92f5afa84faa6769c6a56543350a",
            "sha256:595a656dd8efc44ad2600f67c92a3a2f5612e673513583c11cb04d54f10c55d6",
            "sha256:8874c5d5df1aa338e2de1eb06de21d28b9051ae107c034b09cc83705cbe6a010",
            "sha256:b7b6064a28a9833a1ac123bb3e408f6cdb2689cf233ee40c978e6193a142278c",
            "sha256:ee9872ea80364930d71a014299a88c92390a886751b28e128114db3c6a0ab707",
            "sha256:89273ea6b11f550147c8bc16223e1107b952dfd8d40c33d8775aabcd994bc548",
            "sha256:df0ca509f290c68e5903c3d1db3e3535b843c6f31fd6798070cd7f9cfb061837"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-07T17:41:24.229902856+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

linux/amd64 docker.io649.69MB2024-03-11 14:22
434

docker.io/openjdk:16-jdk-buster

linux/amd64 docker.io649.69MB2024-03-11 14:23
439

docker.io/openjdk:16.0.2

linux/amd64 docker.io466.76MB2024-03-11 14:27
442

docker.io/openjdk:23-slim-bookworm

linux/amd64 docker.io444.61MB2024-06-11 18:22
366

docker.io/openjdk:11

linux/arm64 docker.io648.97MB2024-06-26 14:16
755

docker.io/openjdk:11

linux/amd64 docker.io654.17MB2024-06-26 14:16
911

docker.io/openjdk:8-jdk-alpine3.9

linux/amd64 docker.io104.82MB2024-06-29 09:59
1687

docker.io/openjdk:8-jre

linux/amd64 docker.io273.57MB2024-07-03 15:46
2811

docker.io/openjdk:17

linux/amd64 docker.io471.47MB2024-07-03 21:43
2877

docker.io/openjdk:17-slim

linux/amd64 docker.io407.75MB2024-07-03 23:24
1177

docker.io/openjdk:8u212-jre-alpine3.9

linux/arm64 docker.io83.40MB2024-08-12 11:28
487

docker.io/openjdk:8-jdk

linux/amd64 docker.io526.05MB2024-08-13 13:46
1079

docker.io/openjdk:8u282-jre-buster

linux/amd64 docker.io267.78MB2024-08-16 10:23
473

docker.io/openjdk:11.0.16-jdk

linux/amd64 docker.io654.17MB2024-08-16 10:57
220

docker.io/openjdk:17-jdk-alpine

linux/amd64 docker.io325.60MB2024-08-17 10:41
948

docker.io/openjdk:17.0.2-oraclelinux8

linux/amd64 docker.io471.47MB2024-08-22 14:22
285

docker.io/openjdk:18-bullseye

linux/amd64 docker.io667.10MB2024-08-29 15:34
229

docker.io/openjdk:8u212-jre-slim

linux/amd64 docker.io183.49MB2024-09-04 17:14
266

docker.io/openjdk:8-alpine

linux/arm64 docker.io103.03MB2024-09-20 09:46
314

docker.io/openjdk:17-jdk

linux/arm64 docker.io501.30MB2024-09-20 15:57
526

docker.io/openjdk:21

linux/amd64 docker.io504.20MB2024-10-06 17:28
634

docker.io/openjdk:8u342-jdk

linux/amd64 docker.io526.05MB2024-10-10 17:45
580

docker.io/openjdk:8u102-jdk

linux/amd64 docker.io641.03MB2024-10-29 01:42
74

docker.io/openjdk:8u342-jre-slim-buster

linux/arm64 docker.io180.00MB2024-11-04 14:44
48

docker.io/openjdk:8-jre-slim

linux/arm64 docker.io187.31MB2024-11-06 14:55
44

docker.io/openjdk:8u292

linux/amd64 docker.io513.97MB2024-11-07 14:14
38

docker.io/openjdk:8u342

linux/arm64 docker.io520.16MB2024-11-07 17:41
54

docker.io/openjdk:8-jdk-alpine

linux/arm64 docker.io103.03MB2024-11-11 12:32
43

docker.io/openjdk:8-jdk-alpine

linux/arm docker.io87.74MB2024-11-11 12:34
27

docker.io/openjdk:8-jdk-alpine

linux/ppc64le docker.io116.60MB2024-11-11 12:37
22

docker.io/openjdk:8-jdk-alpine

linux/s390x docker.io101.41MB2024-11-11 12:39
23