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

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

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

源镜像 docker.io/maven:3.6.3-jdk-8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-jdk-8
镜像ID sha256:d1b3f61d61f20df0822e905b6e016bc5619a78134373cc54468e204e7e7c756d
镜像TAG 3.6.3-jdk-8
大小 525.10MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 97 次
贡献者
镜像创建 2021-04-01T02:44:35.158404691Z
同步时间 2024-10-24 15:54
更新时间 2024-11-21 18:33
环境变量
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-10-27 20:46

低危漏洞:247 中危漏洞:234 高危漏洞:240 严重漏洞:65

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

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像历史

大小 创建时间 层信息
0.00B 2021-04-01 10:44:35 /bin/sh -c #(nop) CMD ["mvn"]
0.00B 2021-04-01 10:44:34 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
327.00B 2021-04-01 10:44:34 /bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/
1.65KB 2021-04-01 10:44:34 /bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh
0.00B 2021-04-01 10:44:34 /bin/sh -c #(nop) ENV MAVEN_CONFIG=/root/.m2
0.00B 2021-04-01 10:44:34 /bin/sh -c #(nop) ENV MAVEN_HOME=/usr/share/maven
11.25MB 2021-04-01 10:44:33 |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
0.00B 2021-04-01 10:44:31 /bin/sh -c #(nop) ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries
0.00B 2021-04-01 10:44:31 /bin/sh -c #(nop) ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0
0.00B 2021-04-01 10:44:30 /bin/sh -c #(nop) ARG USER_HOME_DIR=/root
0.00B 2021-04-01 10:44:30 /bin/sh -c #(nop) ARG MAVEN_VERSION=3.6.3
209.04MB 2021-03-31 13:46:17 /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
0.00B 2021-03-31 13:46:06 /bin/sh -c #(nop) ENV JAVA_VERSION=8u282
0.00B 2021-03-31 13:46:06 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2021-03-31 13:46:05 /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 2021-03-31 13:46:05 /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 2021-03-31 13:46:03 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
11.10MB 2021-03-31 13:44:20 /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/*
145.54MB 2021-03-31 07:03:52 /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.54MB 2021-03-31 07:03:21 /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
16.51MB 2021-03-31 07:03:10 /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 2021-03-31 05:49:16 /bin/sh -c #(nop) CMD ["bash"]
114.11MB 2021-03-31 05:49:16 /bin/sh -c #(nop) ADD file:c254898ceb4172f05cd40460f8d0b1ca2d39d5178bdddd4e794c7d3fc5a60a03 in /

镜像信息

{
    "Id": "sha256:d1b3f61d61f20df0822e905b6e016bc5619a78134373cc54468e204e7e7c756d",
    "RepoTags": [
        "maven:3.6.3-jdk-8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.6.3-jdk-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/b4a5b8104701b26c19a676cd196d37b085f70da11bbb36f63ecb8c0fcb8a7e0c/diff:/var/lib/docker/overlay2/3958cca7d2064c87e5bdee6ef332b5a02d3073debce99ea205ec35143a2db0a6/diff:/var/lib/docker/overlay2/a9477f43bf248794410024a3d8e0c435495d4caffac38073db3c985f67a1a673/diff:/var/lib/docker/overlay2/42a8c474a08b8564eaba858784582f2a4ff8b0e18d1dd2e29bef1f4e28e50022/diff:/var/lib/docker/overlay2/d880746a104af71c3d5ca3b3570e698aa77eb07d5cb86c7b791f022e22e9ec3d/diff:/var/lib/docker/overlay2/618268a5648f22d47ced5413007e36a5a2029d866e97b09f6a111b54443a94b0/diff:/var/lib/docker/overlay2/337aeb732ad9f16f4b9d529f58deb1d2000808e72d2b02a389ee234a3fb8d518/diff:/var/lib/docker/overlay2/8fe8fa8c9822b7ba17984e613dd98d2c1eedb7245a9cc0470d4f87c6f91ae5e9/diff:/var/lib/docker/overlay2/8ebaed47dcf67bb05ecfaa2c1a60c5ccd67cf782fb328fd58504b4db14d9c122/diff",
            "MergedDir": "/var/lib/docker/overlay2/fc88f72774c3f31f8b8e2cdd63c8dcf099647a26d7a3a81c82d3b38e42a18737/merged",
            "UpperDir": "/var/lib/docker/overlay2/fc88f72774c3f31f8b8e2cdd63c8dcf099647a26d7a3a81c82d3b38e42a18737/diff",
            "WorkDir": "/var/lib/docker/overlay2/fc88f72774c3f31f8b8e2cdd63c8dcf099647a26d7a3a81c82d3b38e42a18737/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-10-24T15:53:27.130378945+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

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

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

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

docker.io/maven:3.8-openjdk-8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

docker.io/maven:3.6.3-jdk-8

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

docker.io/maven:3-openjdk-8

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

docker.io/maven:3.9.9-amazoncorretto-8

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