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

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

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

源镜像 docker.io/maven:3.6.3-openjdk-8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-8
镜像ID sha256:d1b3f61d61f20df0822e905b6e016bc5619a78134373cc54468e204e7e7c756d
镜像TAG 3.6.3-openjdk-8
大小 525.10MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 100 次
贡献者
镜像创建 2021-04-01T02:44:35.158404691Z
同步时间 2024-11-26 10:11
更新时间 2025-01-17 13:41
环境变量
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=8u282 MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 10.9 扫描引擎: Trivy 扫描时间: 2024-11-26 10:11

低危漏洞:253 中危漏洞:224 高危漏洞:244 严重漏洞:65

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#maven:3.6.3-openjdk-8#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-8#' 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-8 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-8  docker.io/maven:3.6.3-openjdk-8'

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-8 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-8  docker.io/maven:3.6.3-openjdk-8'

镜像构建历史


# 2021-04-01 10:44:35  0.00B 
/bin/sh -c #(nop)  CMD ["mvn"]
                        
# 2021-04-01 10:44:34  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
                        
# 2021-04-01 10:44:34  327.00B 
/bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/ 
                        
# 2021-04-01 10:44:34  1.65KB 
/bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh 
                        
# 2021-04-01 10:44:34  0.00B 
/bin/sh -c #(nop)  ENV MAVEN_CONFIG=/root/.m2
                        
# 2021-04-01 10:44:34  0.00B 
/bin/sh -c #(nop)  ENV MAVEN_HOME=/usr/share/maven
                        
# 2021-04-01 10:44:33  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:44:31  0.00B 
/bin/sh -c #(nop)  ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries
                        
# 2021-04-01 10:44:31  0.00B 
/bin/sh -c #(nop)  ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0
                        
# 2021-04-01 10:44:30  0.00B 
/bin/sh -c #(nop)  ARG USER_HOME_DIR=/root
                        
# 2021-04-01 10:44:30  0.00B 
/bin/sh -c #(nop)  ARG MAVEN_VERSION=3.6.3
                        
# 2021-03-31 13:46:17  209.04MB 
/bin/sh -c set -eux; 		arch="$(dpkg --print-architecture)"; 	case "$arch" in 		'amd64') 			downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jdk_x64_linux_8u282b08.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/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
                        
# 2021-03-31 13:46:06  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=8u282
                        
# 2021-03-31 13:46:06  0.00B 
/bin/sh -c #(nop)  ENV LANG=C.UTF-8
                        
# 2021-03-31 13:46:05  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
                        
# 2021-03-31 13:46:05  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:46:03  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/usr/local/openjdk-8
                        
# 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:d1b3f61d61f20df0822e905b6e016bc5619a78134373cc54468e204e7e7c756d",
    "RepoTags": [
        "maven:3.6.3-openjdk-8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-openjdk-8"
    ],
    "RepoDigests": [
        "maven@sha256:ac624d39dd0b7bed827d4b0d1bbaeb457012e0cba0fb6c53ce34b00bed16ec08",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:09c4bf58d7e7e31bdc1ab73ef10349b3a47c9a814e715e409034fb3293253ce2"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-04-01T02:44:35.158404691Z",
    "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-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=8u282",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "Image": "sha256:a820abf9c6b836e35aa2d3f2d1bfa6d2d95affc90523aa413fbe5a14a5d80691",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 525097293,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/84df9181b975c458bd6b73da08757ae7e5c8b67ad0e8220f922eb18447dcf35f/diff:/var/lib/docker/overlay2/11cae717c84be3d807fc99d5915d11e28ffd53c364ffa13d2cefec5cf3fb799d/diff:/var/lib/docker/overlay2/2616a23dc11e97e6d992f29fd842521f27579b0d9a1d538ec17f37038cde83de/diff:/var/lib/docker/overlay2/ca80ec4e8d9ec9929ad375614301e8f07073edf09544a8842a0915f05103989f/diff:/var/lib/docker/overlay2/deae27854a251092b658dd103f0192c450480565d33fbd7d9df6cc1b703aeef3/diff:/var/lib/docker/overlay2/4d4048a1b7bf35a2f7c4fd79c79907963e17eb30b732d9b6e93ccffb81005ff6/diff:/var/lib/docker/overlay2/22c363f0a932d1e5390ee808fb2c623ac95baa6c579fc76ceb8ef8397a7a1e30/diff:/var/lib/docker/overlay2/7d796bf81f030808a86419d98d587b5f184d09ed970f2c2f1e562f3c9974a859/diff:/var/lib/docker/overlay2/771492ef2beee5ddf667735ecfe4a0bcd9f21b0f012c16a5c62976671cfa27b6/diff",
            "MergedDir": "/var/lib/docker/overlay2/f2ea3289161b55fcbc07d250ea2a03b9f6ebac12716f30fcc85f19972b7047c1/merged",
            "UpperDir": "/var/lib/docker/overlay2/f2ea3289161b55fcbc07d250ea2a03b9f6ebac12716f30fcc85f19972b7047c1/diff",
            "WorkDir": "/var/lib/docker/overlay2/f2ea3289161b55fcbc07d250ea2a03b9f6ebac12716f30fcc85f19972b7047c1/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4ef4adca5c3b96107661045d947bf51f1f27f47c2557c9eea367c32a8bc8c399",
            "sha256:3ee270f20d54e7acda0135fc1e2da4a1d80cf626b639169b32db43c4b3bf5100",
            "sha256:b3577d595e755706fc7ad497fc948c56ccb2668acfb3a454698ad5a6f11532d8",
            "sha256:b1169e57b13935c74779426d6b2067d3076a1f02bd2df1aa0da402891f4886b3",
            "sha256:2a2d81e590dae04f524949fa699ff546307f46be08069d17d0345612f7f69982",
            "sha256:e82847cd9a33683cc83706f605924043f1c9a4330e88fd1526350c502b54756c",
            "sha256:017f7f7038526e1867926ac621df3a1db7e0c5476e46cfda0fa4831e38e931ed",
            "sha256:88b6b227bbf476840f08f5b82e2a96bb4f5be00bdb0fed4433b120c02e937986",
            "sha256:e84615cf70e4a8a91093d2ee3e035b374dfe16a9f575efecb12b3137fc909950",
            "sha256:0dbdc20d9d4de1090e53748b852d41572c6687aadc4c831062c0a122c8ed5ece"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-26T10:11:22.987677168+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
97

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
99

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