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

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

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-linuxarm64
镜像ID sha256:6fbf41d7a67939f45a51bc0b3eda2eaaeee12d24a72c5e65208d811d380604f0
镜像TAG 8u342-jdk-linuxarm64
大小 520.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/arm64
浏览量 53 次
贡献者
镜像创建 2022-08-02T04:51:52.071870852Z
同步时间 2024-12-25 10:54
更新时间 2025-01-17 09:35
环境变量
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-12-25 10:54

低危漏洞:172 中危漏洞:154 高危漏洞:158 严重漏洞:36

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

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

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk-linuxarm64  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-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk-linuxarm64  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-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk-linuxarm64  docker.io/openjdk:8u342-jdk'

镜像构建历史


# 2022-08-02 12:51:52  212.19MB 
/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 12:51:41  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=8u342
                        
# 2022-08-02 12:51:40  0.00B 
/bin/sh -c #(nop)  ENV LANG=C.UTF-8
                        
# 2022-08-02 12:51:39  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 12:51:38  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 12:51:37  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/usr/local/openjdk-8
                        
# 2022-08-02 12:47:40  11.25MB 
/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:24:49  150.28MB 
/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:24:32  17.98MB 
/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:24:26  10.53MB 
/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 08:40:25  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-08-02 08:40:24  117.92MB 
/bin/sh -c #(nop) ADD file:5972a7ce0f1d89d63e5ed48011838c998fa506cd34f8e5f0b0070039cd74c5b9 in / 
                        
                    

镜像信息

{
    "Id": "sha256:6fbf41d7a67939f45a51bc0b3eda2eaaeee12d24a72c5e65208d811d380604f0",
    "RepoTags": [
        "openjdk:8-jdk",
        "openjdk:8u342-jdk",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8-jdk-linuxarm64",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u342-jdk-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/ad1cc9a3b0add9dca5087afa00438e8486ce21b250d1eddd942a811d52edc6f5/diff:/var/lib/docker/overlay2/281188b6e4ddc2f82008aa1da1eb845a7897b595858a88c2fc4043e87185e667/diff:/var/lib/docker/overlay2/1b00174a994864aecb6a8254618015f5d761fc6d79c690d87f2cf332e46d90a7/diff:/var/lib/docker/overlay2/9ffab2b83113ac898bc6c8b6f3610b20110d4065154af8553857b1590e6c4184/diff:/var/lib/docker/overlay2/e714182a5635d5e5da078f8ee794cc0a38ed332014472c81a639cf6ae96499e7/diff:/var/lib/docker/overlay2/ff69e00d43bdc57b28ec395af12422699b572d89bef88788c70d9e6fd51016e0/diff",
            "MergedDir": "/var/lib/docker/overlay2/e0f10d376401b7c6b50acf67052708e4143295c6659636c0a6ae97d1a408b630/merged",
            "UpperDir": "/var/lib/docker/overlay2/e0f10d376401b7c6b50acf67052708e4143295c6659636c0a6ae97d1a408b630/diff",
            "WorkDir": "/var/lib/docker/overlay2/e0f10d376401b7c6b50acf67052708e4143295c6659636c0a6ae97d1a408b630/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bd245ec49ee5cd979b20c0a4efd32385afca92f5afa84faa6769c6a56543350a",
            "sha256:595a656dd8efc44ad2600f67c92a3a2f5612e673513583c11cb04d54f10c55d6",
            "sha256:8874c5d5df1aa338e2de1eb06de21d28b9051ae107c034b09cc83705cbe6a010",
            "sha256:b7b6064a28a9833a1ac123bb3e408f6cdb2689cf233ee40c978e6193a142278c",
            "sha256:ee9872ea80364930d71a014299a88c92390a886751b28e128114db3c6a0ab707",
            "sha256:89273ea6b11f550147c8bc16223e1107b952dfd8d40c33d8775aabcd994bc548",
            "sha256:df0ca509f290c68e5903c3d1db3e3535b843c6f31fd6798070cd7f9cfb061837"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-25T10:54:55.912282888+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

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

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
439

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
529

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
267

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
839

docker.io/openjdk:8u342-jdk

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

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
98

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
64

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