docker.io/maven:3.6.3-openjdk-11 linux/amd64

docker.io/maven:3.6.3-openjdk-11 - 国内下载镜像源 浏览次数:36

maven镜像用于构建、测试和打包Java项目。它提供了 Maven 3.x 版本,支持各种 Java 依赖项管理和构建任务。

源镜像 docker.io/maven:3.6.3-openjdk-11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11
镜像ID sha256:e23b595c92ada5c9f20a27d547ed980a445f644eb1cbde7cfb27478fa38c4691
镜像TAG 3.6.3-openjdk-11
大小 658.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 36 次
贡献者
镜像创建 2021-04-01T02:44:00.635378544Z
同步时间 2025-01-07 11:09
更新时间 2025-01-17 17:03
环境变量
PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/local/openjdk-11 LANG=C.UTF-8 JAVA_VERSION=11.0.10 MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 10.9 扫描引擎: Trivy 扫描时间: 2025-01-07 14:39

低危漏洞:252 中危漏洞:230 高危漏洞:244 严重漏洞:65

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11  docker.io/maven:3.6.3-openjdk-11

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11  docker.io/maven:3.6.3-openjdk-11

Shell快速替换命令

sed -i 's#maven:3.6.3-openjdk-11#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-04-01 10:44:00  0.00B 
/bin/sh -c #(nop)  CMD ["mvn"]
                        
# 2021-04-01 10:44:00  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
                        
# 2021-04-01 10:44:00  327.00B 
/bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/ 
                        
# 2021-04-01 10:44:00  1.65KB 
/bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh 
                        
# 2021-04-01 10:43:59  0.00B 
/bin/sh -c #(nop)  ENV MAVEN_CONFIG=/root/.m2
                        
# 2021-04-01 10:43:59  0.00B 
/bin/sh -c #(nop)  ENV MAVEN_HOME=/usr/share/maven
                        
# 2021-04-01 10:43:59  11.25MB 
|4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries MAVEN_VERSION=3.6.3 SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 USER_HOME_DIR=/root /bin/sh -c mkdir -p /usr/share/maven /usr/share/maven/ref   && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz   && echo "${SHA}  /tmp/apache-maven.tar.gz" | sha512sum -c -   && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1   && rm -f /tmp/apache-maven.tar.gz   && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
                        
# 2021-04-01 10:43:50  0.00B 
/bin/sh -c #(nop)  ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries
                        
# 2021-04-01 10:43:50  0.00B 
/bin/sh -c #(nop)  ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0
                        
# 2021-04-01 10:43:49  0.00B 
/bin/sh -c #(nop)  ARG USER_HOME_DIR=/root
                        
# 2021-04-01 10:43:49  0.00B 
/bin/sh -c #(nop)  ARG MAVEN_VERSION=3.6.3
                        
# 2021-03-31 13:44:38  0.00B 
/bin/sh -c #(nop)  CMD ["jshell"]
                        
# 2021-03-31 13:44:37  342.10MB 
/bin/sh -c set -eux; 		arch="$(dpkg --print-architecture)"; 	case "$arch" in 		'amd64') 			downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_linux_11.0.10_9.tar.gz'; 			;; 		'arm64') 			downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_aarch64_linux_11.0.10_9.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 ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; 	gpg --batch --keyserver ha.pool.sks-keyservers.net --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/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; 		java -Xshare:dump; 		fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; 	javac --version; 	java --version
                        
# 2021-03-31 13:44:23  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=11.0.10
                        
# 2021-03-31 13:44:22  0.00B 
/bin/sh -c #(nop)  ENV LANG=C.UTF-8
                        
# 2021-03-31 13:44:22  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2021-03-31 13:44:22  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
                        
# 2021-03-31 13:44:21  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/usr/local/openjdk-11
                        
# 2021-03-31 13:44:20  11.10MB 
/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/*
                        
# 2021-03-31 07:03:52  145.54MB 
/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/*
                        
# 2021-03-31 07:03:21  17.54MB 
/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
                        
# 2021-03-31 07:03:10  16.51MB 
/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/*
                        
# 2021-03-31 05:49:16  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-03-31 05:49:16  114.11MB 
/bin/sh -c #(nop) ADD file:c254898ceb4172f05cd40460f8d0b1ca2d39d5178bdddd4e794c7d3fc5a60a03 in / 
                        
                    

镜像信息

{
    "Id": "sha256:e23b595c92ada5c9f20a27d547ed980a445f644eb1cbde7cfb27478fa38c4691",
    "RepoTags": [
        "maven:3.6.3-openjdk-11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-11"
    ],
    "RepoDigests": [
        "maven@sha256:1d29ccf46ef2a5e64f7de3d79a63f9bcffb4dc56be0ae3daed5ca5542b38aa2d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:1801d353e27e68d60355b371ddfd2ed8d06204bc3266f1746fdade897bb8b6bd"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-04-01T02:44:00.635378544Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/local/openjdk-11",
            "LANG=C.UTF-8",
            "JAVA_VERSION=11.0.10",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "Image": "sha256:6d2face6b91db4e52bba6335d695aac4d332b35bdb99b5cf4a7064002092c7f8",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 658164663,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ff6c1ddeee6acec2ba40e902d82b9b12f61a614586e60be8719291652c1d6819/diff:/var/lib/docker/overlay2/87d28b1af4f0f10fdffc1962abded131e28fd47807680c4b0270a22e678fa12c/diff:/var/lib/docker/overlay2/b6b546b7882f56e43c29341272a198faf8ec69d3135213db26c912e75040637b/diff:/var/lib/docker/overlay2/2f41dd48cedd82d6e7d3d7aa19912813790e43f168391edae291aa9f84a086da/diff:/var/lib/docker/overlay2/8b732263b50f959a763173dafda4da5557302ab4b81c1f3ce881e46f5872f8f6/diff:/var/lib/docker/overlay2/9fb779e7a263122fe618fa6be2c9929f167d0fd3d74323dcc5849f5b31f98281/diff:/var/lib/docker/overlay2/49922ce642277f73eb2377509ef149b64d95123931b1578b6aebf0cbe87e12d4/diff:/var/lib/docker/overlay2/5391bb55b7e773f29b03de9bcafc87a2f0e428129ea7a0a2a123d123ff81348f/diff:/var/lib/docker/overlay2/3045bcf48161635d18c13ff670ff63f8e30fc07c2d98610099e3e045b48ecdbe/diff",
            "MergedDir": "/var/lib/docker/overlay2/bbec5a38a2867f4d3bac3c4413a7bec0350eff5bb6626879b67a7c229a65fe74/merged",
            "UpperDir": "/var/lib/docker/overlay2/bbec5a38a2867f4d3bac3c4413a7bec0350eff5bb6626879b67a7c229a65fe74/diff",
            "WorkDir": "/var/lib/docker/overlay2/bbec5a38a2867f4d3bac3c4413a7bec0350eff5bb6626879b67a7c229a65fe74/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4ef4adca5c3b96107661045d947bf51f1f27f47c2557c9eea367c32a8bc8c399",
            "sha256:3ee270f20d54e7acda0135fc1e2da4a1d80cf626b639169b32db43c4b3bf5100",
            "sha256:b3577d595e755706fc7ad497fc948c56ccb2668acfb3a454698ad5a6f11532d8",
            "sha256:b1169e57b13935c74779426d6b2067d3076a1f02bd2df1aa0da402891f4886b3",
            "sha256:2a2d81e590dae04f524949fa699ff546307f46be08069d17d0345612f7f69982",
            "sha256:1059b684144a94a6f0ee01b11a9dbdcd3b015691e8c02ab8ba3d94ef7c0e1dc4",
            "sha256:d459b0fecb7beb2775b4f84f17eb3e179fad76dd481f1e50d0c17d483e966962",
            "sha256:c37631ce9afcc4082c75563b37dd2d06ab5e4c7e5e40e759d5f50c40d37ddf75",
            "sha256:106aefa920ed01939187238c40c0c1b45716c4521bba96d16cee8e1a30d9567c",
            "sha256:e1a92848bf0391dbc3ed8a99d0a953c23bb2add156855fd9668f68d1949bc5bd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-07T11:09:10.442345889+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

linux/amd64 docker.io797.99MB2024-07-04 15:41
733

docker.io/maven:3.6.0-jdk-8-alpine

linux/amd64 docker.io121.59MB2024-08-19 14:45
277

docker.io/maven:3.8-openjdk-8

linux/amd64 docker.io536.21MB2024-09-27 16:07
311

docker.io/maven:3.8.8-amazoncorretto-8-debian

linux/arm64 docker.io322.03MB2024-10-14 22:19
111

docker.io/maven:3.8.8-amazoncorretto-8-debian

linux/amd64 docker.io314.16MB2024-10-14 22:20
108

docker.io/maven:3.8.8-amazoncorretto-11-debian

linux/amd64 docker.io420.41MB2024-10-14 22:22
107

docker.io/maven:3.8.8-amazoncorretto-17-debian

linux/amd64 docker.io428.06MB2024-10-14 22:23
119

docker.io/maven:3.8.8-amazoncorretto-21-debian

linux/arm64 docker.io478.44MB2024-10-14 22:25
90

docker.io/maven:3.8.8-amazoncorretto-17-debian

linux/arm64 docker.io450.75MB2024-10-14 22:26
101

docker.io/maven:3.8.8-amazoncorretto-11-debian

linux/arm64 docker.io440.53MB2024-10-14 22:27
85

docker.io/maven:3.8.8-amazoncorretto-21-debian

linux/amd64 docker.io457.05MB2024-10-15 10:03
117

docker.io/maven:3.9.9-amazoncorretto-23-al2023

linux/amd64 docker.io602.69MB2024-10-24 08:49
98

docker.io/maven:3.9.9-amazoncorretto-23-al2023

linux/arm64 docker.io689.84MB2024-10-24 08:51
86

docker.io/maven:3.6.3-jdk-8

linux/amd64 docker.io525.10MB2024-10-24 15:54
197

docker.io/maven:3-openjdk-8

linux/arm64 docker.io530.31MB2024-10-24 16:13
141

docker.io/maven:3.9.9-amazoncorretto-8

linux/amd64 docker.io825.73MB2024-10-28 14:03
154

docker.io/maven:3.6.3-openjdk-17

linux/amd64 docker.io740.43MB2024-11-26 10:10
84

docker.io/maven:3.6.3-openjdk-8

linux/amd64 docker.io525.10MB2024-11-26 10:11
100

docker.io/maven:3.8.7-openjdk-18

linux/amd64 docker.io826.03MB2024-12-04 13:32
58

docker.io/maven:3.8.6-openjdk-8

linux/amd64 docker.io536.21MB2024-12-17 19:29
57

docker.io/maven:3.9.9-amazoncorretto-23-debian-bookworm

linux/amd64 docker.io474.84MB2025-01-03 15:29
31

docker.io/maven:3.9.9-amazoncorretto-21-debian

linux/amd64 docker.io467.84MB2025-01-06 11:00
28

docker.io/maven:3.6.3-openjdk-11

linux/amd64 docker.io658.16MB2025-01-07 11:09
35