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

docker.io/maven:3.8.8-amazoncorretto-21-debian - 国内下载镜像源 浏览次数:118

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

源镜像 docker.io/maven:3.8.8-amazoncorretto-21-debian
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian
镜像ID sha256:7ec7261029438c8d3935389301999b0ac9b0d3e0160b660fc862c6c8faaf455a
镜像TAG 3.8.8-amazoncorretto-21-debian
大小 457.05MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 118 次
贡献者
镜像创建 2023-12-18T19:02:52Z
同步时间 2024-10-15 10:03
更新时间 2025-01-18 02:11
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.4 扫描引擎: Trivy 扫描时间: 2024-10-27 10:51

低危漏洞:67 中危漏洞:43 高危漏洞:23 严重漏洞:1

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian  docker.io/maven:3.8.8-amazoncorretto-21-debian

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian  docker.io/maven:3.8.8-amazoncorretto-21-debian

Shell快速替换命令

sed -i 's#maven:3.8.8-amazoncorretto-21-debian#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian  docker.io/maven:3.8.8-amazoncorretto-21-debian'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian  docker.io/maven:3.8.8-amazoncorretto-21-debian'

镜像构建历史


# 2023-12-19 03:02:52  0.00B 设置默认要执行的命令
CMD ["mvn"]
                        
# 2023-12-19 03:02:52  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
                        
# 2023-12-19 03:02:52  0.00B 设置环境变量 MAVEN_CONFIG
ENV MAVEN_CONFIG=/root/.m2
                        
# 2023-12-19 03:02:52  0.00B 定义构建参数
ARG USER_HOME_DIR=/root
                        
# 2023-12-19 03:02:52  0.00B 定义构建参数
ARG MAVEN_VERSION=3.8.8
                        
# 2023-12-19 03:02:52  24.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn # buildkit
                        
# 2023-12-19 03:02:52  327.00B 复制新文件或目录到容器中
COPY /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml # buildkit
                        
# 2023-12-19 03:02:52  1.65KB 复制新文件或目录到容器中
COPY /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh # buildkit
                        
# 2023-12-19 03:02:52  9.72MB 复制新文件或目录到容器中
COPY /usr/share/maven /usr/share/maven # buildkit
                        
# 2023-12-19 03:02:52  0.00B 设置环境变量 MAVEN_HOME
ENV MAVEN_HOME=/usr/share/maven
                        
# 2023-12-19 03:02:52  372.55MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update   && apt-get install -y curl gnupg   && export GNUPGHOME="$(mktemp -d)"   && curl -fL https://apt.corretto.aws/corretto.key | gpg --batch --import   && gpg --batch --export '6DC3636DAE534049C8B94623A122542AB04F24E3' > /usr/share/keyrings/corretto.gpg   && rm -r "$GNUPGHOME"   && unset GNUPGHOME   && echo "deb [signed-by=/usr/share/keyrings/corretto.gpg] https://apt.corretto.aws stable main" > /etc/apt/sources.list.d/corretto.list   && apt-get update   && apt-get remove --purge --autoremove -y curl gnupg   && apt-get install -y java-21-amazon-corretto-jdk   && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-12-19 09:20:28  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2023-12-19 09:20:27  74.77MB 
/bin/sh -c #(nop) ADD file:ac3cd70031d35e46d86b876934946ffc8756de4de065fbc926dce642dac07ff3 in / 
                        
                    

镜像信息

{
    "Id": "sha256:7ec7261029438c8d3935389301999b0ac9b0d3e0160b660fc862c6c8faaf455a",
    "RepoTags": [
        "maven:3.8.8-amazoncorretto-21-debian",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.8-amazoncorretto-21-debian"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:493fcc69899695ec851092112f54e8ee8b58e50c5a1cff07396369ac1037bb23"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-12-18T19:02:52Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 457049234,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/0539ade5c6d3b8d24cd42a8bdb39153fe8610d61b6305f7636f89a8f6a12f10e/diff:/var/lib/docker/overlay2/6f6a28d43998389e4cf5b680f4107cbfad04d92a8683356bed0587a4d0bf8e39/diff:/var/lib/docker/overlay2/7ac19d174a78af90359e22ae52ad3d93230bb5d7414f74e638c8435246b8e221/diff:/var/lib/docker/overlay2/c8cf74eb562eb830f591b847da485d5f5fa054cf3cc0481272f35b94f9cc3610/diff:/var/lib/docker/overlay2/ddb994b5a3452b12c86818472e3b04c83b5a634455389d5b9d5171c6604e1d19/diff",
            "MergedDir": "/var/lib/docker/overlay2/f6985308f33415f8515d2fe4a52db48a1a26cc689dc73dd609240629420aa6d9/merged",
            "UpperDir": "/var/lib/docker/overlay2/f6985308f33415f8515d2fe4a52db48a1a26cc689dc73dd609240629420aa6d9/diff",
            "WorkDir": "/var/lib/docker/overlay2/f6985308f33415f8515d2fe4a52db48a1a26cc689dc73dd609240629420aa6d9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:7292cf786aa89399bca4e3edd105d3b2ee0683a46ef1f5ff436c0f9d1d49e765",
            "sha256:107ce7b07c6b20b8532e9165b7e4cbbb8307fb0c953a9610f327a6c3cd50d2b4",
            "sha256:76b9f6c4bd320f463d979c2ea974ffec14c7783d30eedcb95267d2b313847e85",
            "sha256:082ca80dad8805999b23a9d54fd243f7bc450a01f268340e08c9385a0eef65c4",
            "sha256:c80b940f2b51f5ad0bdcc05c47eebf82da01e87e7f027cebe1f7079f4d5e0b66",
            "sha256:5c9d487243b9ad9710da9c2883655e6fc8d3e0cc1472d691b14650447e4a8b36"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-15T10:02:24.777553026+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

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

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
29

docker.io/maven:3.6.3-openjdk-11

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