docker.io/openjdk:8u342-jdk linux/amd64

docker.io/openjdk:8u342-jdk - 国内下载镜像源 浏览次数:824 安全受验证的发布者-OpenJdk

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

源镜像 docker.io/openjdk:8u342-jdk
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk
镜像ID sha256:b273004037cc3af245d8e08cfbfa672b93ee7dcb289736c82d0b58936fb71702
镜像TAG 8u342-jdk
大小 526.05MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 824 次
贡献者
镜像创建 2022-08-02T05:54:47.351071582Z
同步时间 2024-10-10 17:45
更新时间 2025-01-18 07:25
环境变量
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-10-27 18:12

低危漏洞:179 中危漏洞:166 高危漏洞:164 严重漏洞:40

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-08-02 13:54:47  209.16MB 
/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
                        
# 2022-08-02 13:54:38  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=8u342
                        
# 2022-08-02 13:54:37  0.00B 
/bin/sh -c #(nop)  ENV LANG=C.UTF-8
                        
# 2022-08-02 13:54:37  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2022-08-02 13:54:37  27.00B 
/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
                        
# 2022-08-02 13:54:37  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/usr/local/openjdk-8
                        
# 2022-08-02 13:51:54  11.32MB 
/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/*
                        
# 2022-08-02 09:47:17  151.95MB 
/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/*
                        
# 2022-08-02 09:47:01  18.95MB 
/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
                        
# 2022-08-02 09:46:56  10.69MB 
/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/*
                        
# 2022-08-02 09:19:54  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-08-02 09:19:54  123.98MB 
/bin/sh -c #(nop) ADD file:d0f758e50c654c225f6c7f03e8a579efc9106437051573bdbae5e63b1c4b2c1f in / 
                        
                    

镜像信息

{
    "Id": "sha256:b273004037cc3af245d8e08cfbfa672b93ee7dcb289736c82d0b58936fb71702",
    "RepoTags": [
        "openjdk:8u342-jdk",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk"
    ],
    "RepoDigests": [
        "openjdk@sha256:86e863cc57215cfb181bd319736d0baf625fe8f150577f9eb58bd937f5452cb8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:3af2ac94130765b73fc8f1b42ffc04f77996ed8210c297fcfa28ca880ff0a217"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-02T05:54:47.351071582Z",
    "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:80f8c9ba22a662bd88c96138e67dc21e9f3543b9b493a91db4a3cb90a60297c9",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 526049613,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7db880cf66c20b6e77662ba1e6a6c3fd99b0f101d4dd20aaa6c35f13f7ef5d4a/diff:/var/lib/docker/overlay2/64c4dc24c8decb39e3d8836e09d6689cce8fd736b6cf5212284492258468d1ca/diff:/var/lib/docker/overlay2/79899e0c8d54664e26f455165d1a50103aa5020f36d27f66ad92823bf1ff1121/diff:/var/lib/docker/overlay2/2b742f1b943eaf6a921f9d167b659f65fe77e08196afe5eec754077d80a0b644/diff:/var/lib/docker/overlay2/736ab5549e408683a6eefd8ed5c450eba329e2aced085e8b96321e9e393688c0/diff:/var/lib/docker/overlay2/c60688b2adfc1a12f092b2a6ddbe55b5a31127643978c3e2e5701404845475a3/diff",
            "MergedDir": "/var/lib/docker/overlay2/a0ad3d57d0148e5662512216e81895d9599e6a44f11c94b873574a2bd64d576e/merged",
            "UpperDir": "/var/lib/docker/overlay2/a0ad3d57d0148e5662512216e81895d9599e6a44f11c94b873574a2bd64d576e/diff",
            "WorkDir": "/var/lib/docker/overlay2/a0ad3d57d0148e5662512216e81895d9599e6a44f11c94b873574a2bd64d576e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9c742cd6c7a5752ee36be8ecb14be45c0885e10e6dd34f26a9ae3eb096c5d492",
            "sha256:03127cdb479b0f1eb8a9b0df8e8d72ead24979728d3c84ff645611b9d8790f94",
            "sha256:293d5db30c9fcf33b65fa033e427fdd118464f9ea0c2a343a478a6e89c29140e",
            "sha256:9b55156abf262eac3e6bd3ae60e7277ab4f9c69543650d7ecefc8c26ee889873",
            "sha256:b626401ef603dd383fc3a43cf474186827db1875591bfc84b178177ca010015b",
            "sha256:53a0b163e9955ffb80569ef37e13fbf5d1074ddd67bc5ad09d7bd874b800396a",
            "sha256:6b5aaff4425423d122ebe4f1514a1994ae60954fc8a2299787df0ddb1a12f6b9"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-10T17:45:15.636956962+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

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

docker.io/openjdk:16-jdk-buster

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

docker.io/openjdk:16.0.2

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

docker.io/openjdk:23-slim-bookworm

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

docker.io/openjdk:11

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

docker.io/openjdk:11

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

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

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

docker.io/openjdk:8-jre

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

docker.io/openjdk:17

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

docker.io/openjdk:17-slim

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

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

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

docker.io/openjdk:8-jdk

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

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

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

docker.io/openjdk:11.0.16-jdk

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

docker.io/openjdk:17-jdk-alpine

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

docker.io/openjdk:17.0.2-oraclelinux8

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

docker.io/openjdk:18-bullseye

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

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

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

docker.io/openjdk:8-alpine

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

docker.io/openjdk:17-jdk

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

docker.io/openjdk:21

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

docker.io/openjdk:8u342-jdk

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

docker.io/openjdk:8u102-jdk

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

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

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

docker.io/openjdk:8-jre-slim

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

docker.io/openjdk:8u292

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

docker.io/openjdk:8u342

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:11-jre-slim

linux/amd64 docker.io223.27MB2024-11-22 11:25
113

docker.io/openjdk:8-jdk

linux/arm64 docker.io520.16MB2024-11-22 11:57
98

docker.io/openjdk:17.0.2-jdk-slim

linux/amd64 docker.io407.75MB2024-11-26 15:16
97

docker.io/openjdk:21-jdk-oraclelinux7

linux/amd64 docker.io529.44MB2024-12-01 14:09
84

docker.io/openjdk:18-ea-18-jdk-buster

linux/amd64 docker.io654.49MB2024-12-03 14:22
57

docker.io/openjdk:17-oracle

linux/amd64 docker.io471.47MB2024-12-06 15:02
63

docker.io/openjdk:8u342-jdk

linux/arm64 docker.io520.16MB2024-12-25 10:54
52

docker.io/openjdk:23-jdk-bookworm

linux/amd64 docker.io747.07MB2025-01-04 14:36
34

docker.io/openjdk:17.0.2-jdk

linux/amd64 docker.io471.47MB2025-01-13 09:52
25

docker.io/openjdk:17.0.2-jdk-slim-bullseye

linux/amd64 docker.io407.75MB2025-01-13 16:31
26

docker.io/openjdk:17-jdk

linux/amd64 docker.io471.47MB2025-01-15 17:19
25