docker.io/maven:3-openjdk-8 linux/arm64

docker.io/maven:3-openjdk-8 - 国内下载镜像源 浏览次数:72 温馨提示: 这是一个 linux/arm64 系统架构镜像

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

源镜像 docker.io/maven:3-openjdk-8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3-openjdk-8-linuxarm64
镜像ID sha256:1b886eeb744fcfe1300d3e080255738f4ac7628af661b0de919e75ae8259b076
镜像TAG 3-openjdk-8-linuxarm64
大小 530.31MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/arm64
浏览量 72 次
贡献者
镜像创建 2022-08-03T01:01:22.560572716Z
同步时间 2024-10-24 16:13
更新时间 2024-11-21 13:28
环境变量
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 MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.4 扫描引擎: Trivy 扫描时间: 2024-10-24 16:13

低危漏洞:172 中危漏洞:153 高危漏洞:156 严重漏洞:36

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

镜像历史

大小 创建时间 层信息
0.00B 2022-08-03 09:01:22 /bin/sh -c #(nop) CMD ["mvn"]
0.00B 2022-08-03 09:01:21 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
327.00B 2022-08-03 09:01:21 /bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/
1.65KB 2022-08-03 09:01:20 /bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh
0.00B 2022-08-03 09:01:18 /bin/sh -c #(nop) ENV MAVEN_CONFIG=/root/.m2
0.00B 2022-08-03 09:01:17 /bin/sh -c #(nop) ENV MAVEN_HOME=/usr/share/maven
10.16MB 2022-08-03 09:01:16 |4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.8.6/binaries MAVEN_VERSION=3.8.6 SHA=f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 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 2022-08-03 09:01:13 /bin/sh -c #(nop) ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.8.6/binaries
0.00B 2022-08-03 09:01:12 /bin/sh -c #(nop) ARG SHA=f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26
0.00B 2022-08-03 09:01:11 /bin/sh -c #(nop) ARG USER_HOME_DIR=/root
0.00B 2022-08-03 09:01:11 /bin/sh -c #(nop) ARG MAVEN_VERSION=3.8.6
212.19MB 2022-08-02 12:51:52 /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
0.00B 2022-08-02 12:51:41 /bin/sh -c #(nop) ENV JAVA_VERSION=8u342
0.00B 2022-08-02 12:51:40 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-08-02 12:51:39 /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 2022-08-02 12:51:38 /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 2022-08-02 12:51:37 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
11.25MB 2022-08-02 12:47:40 /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/*
150.28MB 2022-08-02 09:24:49 /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.98MB 2022-08-02 09:24:32 /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
10.53MB 2022-08-02 09:24:26 /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 2022-08-02 08:40:25 /bin/sh -c #(nop) CMD ["bash"]
117.92MB 2022-08-02 08:40:24 /bin/sh -c #(nop) ADD file:5972a7ce0f1d89d63e5ed48011838c998fa506cd34f8e5f0b0070039cd74c5b9 in /

镜像信息

{
    "Id": "sha256:1b886eeb744fcfe1300d3e080255738f4ac7628af661b0de919e75ae8259b076",
    "RepoTags": [
        "maven:3-openjdk-8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3-openjdk-8-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:63ca6f5135b3b924a24d25d302a5c08c00c7cebe597e5093a1b50f8e5d52e4d8"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-03T01:01:22.560572716Z",
    "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",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "Image": "sha256:2a0cf77868e3e0f42a2f7c979779b7da2277bdbea18363a15e84e279e91983d5",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 530314915,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8d24e3edeacd247cb8b3d2ab5a702bb6ad032597577bb51f2f6c1ec3ee98412c/diff:/var/lib/docker/overlay2/ecd27baa38b10846c200f329d39f41eba8f169b230613e44a9ca2990ee455c51/diff:/var/lib/docker/overlay2/43b8ba1bbb2971e651192f8351af6a94fd737487f0815b8c3e66c946dc1a396e/diff:/var/lib/docker/overlay2/e42eb0858f4103ca2ff7f2e526d2f8002573948f3c563d43f00941bbc2b46582/diff:/var/lib/docker/overlay2/6f288b341ba706bc4f29748f57093d3ba3a52b83f8d89ad4a276de2a3c0c5781/diff:/var/lib/docker/overlay2/53c1e8c75e9fd3a5fe67092091f27aea4ad332a6f720e8ade69bf8c6989408bb/diff:/var/lib/docker/overlay2/7cc5ced6f87b487a803eb3b41670d57d05bbea59622efc6ad980f2e3237a6d64/diff:/var/lib/docker/overlay2/5bb06d0f83b70ab50f69438b8237ef406bf82f93bdfa0aa0b10bbfa6f9113b04/diff:/var/lib/docker/overlay2/416d8d9647644e65bb58dec24966113127c3a310f2ea19e819d723e3a223bd4d/diff",
            "MergedDir": "/var/lib/docker/overlay2/f47b686f1c8805924881203eacfebd10fa177ad88da11f6300ff1850fd5c5c19/merged",
            "UpperDir": "/var/lib/docker/overlay2/f47b686f1c8805924881203eacfebd10fa177ad88da11f6300ff1850fd5c5c19/diff",
            "WorkDir": "/var/lib/docker/overlay2/f47b686f1c8805924881203eacfebd10fa177ad88da11f6300ff1850fd5c5c19/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bd245ec49ee5cd979b20c0a4efd32385afca92f5afa84faa6769c6a56543350a",
            "sha256:595a656dd8efc44ad2600f67c92a3a2f5612e673513583c11cb04d54f10c55d6",
            "sha256:8874c5d5df1aa338e2de1eb06de21d28b9051ae107c034b09cc83705cbe6a010",
            "sha256:b7b6064a28a9833a1ac123bb3e408f6cdb2689cf233ee40c978e6193a142278c",
            "sha256:ee9872ea80364930d71a014299a88c92390a886751b28e128114db3c6a0ab707",
            "sha256:89273ea6b11f550147c8bc16223e1107b952dfd8d40c33d8775aabcd994bc548",
            "sha256:df0ca509f290c68e5903c3d1db3e3535b843c6f31fd6798070cd7f9cfb061837",
            "sha256:dd00ab4aee6e29e37cb7390b70e1c58eb376d8c4ae6d233710e628e4afebfb05",
            "sha256:3e40c6f7851f42562b5cf1549167a5cd345518ee65accad65e1206bc6d692c7a",
            "sha256:60d77499af871c5b670c84057f66baca4a0be9923dfa922e9fd81f45bfafa088"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-24T16:13:33.645725371+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
200

docker.io/maven:3.8-openjdk-8

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

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
53

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
93

docker.io/maven:3-openjdk-8

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

docker.io/maven:3.9.9-amazoncorretto-8

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