docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian linux/amd64

docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian - 国内下载镜像源 浏览次数:11

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

源镜像 docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian
镜像ID sha256:d45eca6471764df61cd7cd90746841785c922d8120bb9d68557b63dafb2373df
镜像TAG 4.0.0-rc-5-amazoncorretto-25-debian
大小 522.02MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 11 次
贡献者
镜像创建 2025-11-18T06:21:28.77729199Z
同步时间 2025-11-18 18:09
更新时间 2025-11-18 21:19
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/lib/jvm/java-25-amazon-corretto MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2
镜像标签
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.: org.opencontainers.image.description https://github.com/carlossg/docker-maven: org.opencontainers.image.source Apache Maven: org.opencontainers.image.title https://github.com/carlossg/docker-maven: org.opencontainers.image.url

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian  docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian  docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-11-18 14:21:28  0.00B 设置默认要执行的命令
CMD ["mvn"]
                        
# 2025-11-18 14:21:28  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
                        
# 2025-11-18 14:21:28  0.00B 设置环境变量 MAVEN_CONFIG
ENV MAVEN_CONFIG=/root/.m2
                        
# 2025-11-18 14:21:28  0.00B 定义构建参数
ARG USER_HOME_DIR=/root
                        
# 2025-11-18 14:21:28  0.00B 定义构建参数
ARG MAVEN_VERSION=4.0.0-rc-5
                        
# 2025-11-18 14:21:28  24.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn # buildkit
                        
# 2025-11-18 14:21:28  0.00B 复制新文件或目录到容器中
COPY /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml # buildkit
                        
# 2025-11-18 14:21:28  1.65KB 复制新文件或目录到容器中
COPY /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh # buildkit
                        
# 2025-11-18 14:21:28  17.27MB 复制新文件或目录到容器中
COPY /usr/share/maven /usr/share/maven # buildkit
                        
# 2025-11-18 14:21:28  0.00B 设置环境变量 MAVEN_HOME
ENV MAVEN_HOME=/usr/share/maven
                        
# 2025-11-18 14:21:28  0.00B 添加元数据标签
LABEL org.opencontainers.image.description=Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
                        
# 2025-11-18 14:21:28  0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
                        
# 2025-11-18 14:21:28  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
                        
# 2025-11-18 14:21:28  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Apache Maven
                        
# 2025-11-18 14:21:28  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/usr/lib/jvm/java-25-amazon-corretto
                        
# 2025-11-18 14:21:28  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2025-11-18 14:21:28  426.13MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update   && apt-get install -y curl gnupg openssh-client   && export GNUPGHOME="$(mktemp -d)"   && curl -fL https://apt.corretto.aws/corretto.key -o corretto.key   && echo 'a4f2307774f79869ec41a667228c563fb086a267ac101ba44cc14fa515595c54 *corretto.key' | sha256sum -c -   && gpg --batch --import corretto.key   && rm corretto.key   && gpg --batch --export '6DC3636DAE534049C8B94623A122542AB04F24E3' > /usr/share/keyrings/corretto.gpg   && 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-25-amazon-corretto-jdk   && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2025-11-17 08:00:00  78.62MB 
# debian.sh --arch 'amd64' out/ 'trixie' '@1763337600'
                        
                    

镜像信息

{
    "Id": "sha256:d45eca6471764df61cd7cd90746841785c922d8120bb9d68557b63dafb2373df",
    "RepoTags": [
        "maven:4.0.0-rc-5-amazoncorretto-25-debian",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian"
    ],
    "RepoDigests": [
        "maven@sha256:f2416f98ff20c92d6940c53e15c4293e5b44813d29341aaf6859f40ef57af971",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:eaef288c34978d5eb97ba43b1d54975680f99d7a6b4b8b59ecacb39c21eae299"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-11-18T06:21:28.77729199Z",
    "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",
            "LANG=C.UTF-8",
            "JAVA_HOME=/usr/lib/jvm/java-25-amazon-corretto",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.description": "Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.",
            "org.opencontainers.image.source": "https://github.com/carlossg/docker-maven",
            "org.opencontainers.image.title": "Apache Maven",
            "org.opencontainers.image.url": "https://github.com/carlossg/docker-maven"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 522016617,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4b1c83d9fa7aceb11dbb337c2a37f857d76625d5fa93dd7db238cacc719ac32d/diff:/var/lib/docker/overlay2/68eea60b08bc74b0cccb32764df7c53900bd2b81228a2ba200bd0fb5e4b55247/diff:/var/lib/docker/overlay2/57fae9532b960c83be3fc2ca00343f417df1f625fc22f3d30f848f8f304a2b39/diff:/var/lib/docker/overlay2/b758eeecd7eddec91d996f467d1e86b2eb1375825a6cb88d05802a97b97f9f1e/diff:/var/lib/docker/overlay2/d00adf6575e12ca74960f41d6ac1272c63fc6703696c336b526acde370dda7c3/diff",
            "MergedDir": "/var/lib/docker/overlay2/c20d515bc21e1462a7314789a0d46f466a795ff6a94c79801291b8b981ddf12e/merged",
            "UpperDir": "/var/lib/docker/overlay2/c20d515bc21e1462a7314789a0d46f466a795ff6a94c79801291b8b981ddf12e/diff",
            "WorkDir": "/var/lib/docker/overlay2/c20d515bc21e1462a7314789a0d46f466a795ff6a94c79801291b8b981ddf12e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:70a290c5e58b68f39496ab93a62f21b8b2ca0502e97905131838de1b39a37cbb",
            "sha256:9e71e7c4515ab33ecfd28b756d3b3cc15a4cf7eb1257dcefaf411de45966b3ea",
            "sha256:9c951a9934c6195046e7af940451415fb4bcc3992abb13c306fc6718f0465238",
            "sha256:f3d7f2dd710c680c12bec72cf78895f1d18ffcbab208588fde4a753c949fb96e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:9354ebe00919a6c03c5245324ebb753c586680ec0b81e7fe9c6c4f3ba86509d7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-11-18T18:09:20.469396773+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

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

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

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

docker.io/maven:3.8-openjdk-8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

docker.io/maven:3.6.3-jdk-8

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

docker.io/maven:3-openjdk-8

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

docker.io/maven:3.9.9-amazoncorretto-8

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

docker.io/maven:3.6.3-openjdk-17

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

docker.io/maven:3.6.3-openjdk-8

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

docker.io/maven:3.8.7-openjdk-18

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

docker.io/maven:3.8.6-openjdk-8

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

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

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

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

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

docker.io/maven:3.6.3-openjdk-11

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

docker.io/maven:3.8.6-jdk-11-slim

linux/amd64 docker.io440.02MB2025-01-23 14:18
556

docker.io/maven:3.8.6-jdk-8

linux/amd64 docker.io536.21MB2025-02-12 10:18
464

docker.io/maven:3.9.9-eclipse-temurin-17-alpine

linux/amd64 docker.io350.58MB2025-03-04 15:46
823

docker.io/maven:3.9-eclipse-temurin-21-alpine

linux/amd64 docker.io379.11MB2025-03-06 17:05
708

docker.io/maven:3.9-eclipse-temurin-17-alpine

linux/amd64 docker.io350.58MB2025-03-06 21:56
526

docker.io/maven:3.8-eclipse-temurin-21-alpine

linux/amd64 docker.io356.50MB2025-03-06 22:07
457

docker.io/maven:3.8.3-jdk-8

linux/amd64 docker.io536.59MB2025-03-10 09:49
266

docker.io/maven:3.6.3-jdk-11

linux/arm64 docker.io648.18MB2025-04-08 19:11
577

docker.io/maven:3.8.5-openjdk-11

linux/amd64 docker.io669.93MB2025-04-10 16:29
365

docker.io/maven:3.9.9-eclipse-temurin-21-alpine

linux/amd64 docker.io379.12MB2025-04-14 18:01
894

docker.io/maven:3.9.9-eclipse-temurin-21-jammy

linux/amd64 docker.io517.73MB2025-04-14 19:37
901

docker.io/maven:3.6.3-openjdk-17-slim

linux/amd64 docker.io415.28MB2025-04-22 15:19
411

docker.io/maven:3.9.6-sapmachine-21

linux/amd64 docker.io537.55MB2025-04-23 17:34
500

docker.io/maven:3.8.4-openjdk-11

linux/amd64 docker.io670.32MB2025-04-27 08:46
300

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

linux/amd64 docker.io599.84MB2025-04-28 11:15
586

docker.io/maven:3.9-eclipse-temurin-8

linux/amd64 docker.io356.66MB2025-05-12 15:19
328

docker.io/maven:latest

linux/amd64 docker.io530.09MB2025-05-21 14:31
478

docker.io/maven:3.9.9-eclipse-temurin-21-noble

linux/amd64 docker.io530.10MB2025-06-17 14:17
273

docker.io/maven:3.9.9-eclipse-temurin-17-noble

linux/amd64 docker.io502.19MB2025-06-19 10:02
378

docker.io/maven:3.9.9-eclipse-temurin-11-noble

linux/amd64 docker.io483.62MB2025-06-19 10:04
390

docker.io/maven:3.9.9-eclipse-temurin-8-noble

linux/amd64 docker.io356.68MB2025-06-19 10:14
257

docker.io/maven:3-jdk-8

linux/amd64 docker.io536.21MB2025-06-25 19:30
219

docker.io/maven:3-openjdk-11

linux/arm64 docker.io655.20MB2025-07-04 11:23
200

docker.io/maven:3.8.3-openjdk-11

linux/arm64 docker.io658.78MB2025-07-04 11:30
357

docker.io/maven:3.8.8-eclipse-temurin-21-alpine

linux/amd64 docker.io356.50MB2025-07-05 10:58
214

docker.io/maven:3.8.8-eclipse-temurin-21-alpine

linux/arm64 docker.io361.39MB2025-07-05 11:01
207

docker.io/maven:3-openjdk-17

linux/amd64 docker.io797.99MB2025-07-11 12:01
366

docker.io/maven:3.8.6-eclipse-temurin-17

linux/amd64 docker.io535.61MB2025-07-14 16:08
296

docker.io/maven:3.9.11-eclipse-temurin-8

linux/amd64 docker.io356.80MB2025-07-25 10:11
234

docker.io/maven:3.8.2-eclipse-temurin-17

linux/amd64 docker.io557.12MB2025-08-13 11:10
178

docker.io/maven:3.8-openjdk-17

linux/amd64 docker.io797.99MB2025-08-14 20:58
217

docker.io/maven:3.9.4-eclipse-temurin-21

linux/amd64 docker.io508.56MB2025-08-26 10:41
171

docker.io/maven:3.8.7-openjdk-18-slim

linux/amd64 docker.io426.19MB2025-08-29 17:25
117

docker.io/maven:3-alpine

linux/amd64 docker.io116.01MB2025-09-11 11:05
157

docker.io/maven:3.8.4-openjdk-8-slim

linux/amd64 docker.io312.45MB2025-09-17 17:38
154

docker.io/maven:3.9.9-eclipse-temurin-11

linux/amd64 docker.io483.62MB2025-09-19 11:11
151

docker.io/maven:3.9.11-eclipse-temurin-8

linux/arm64 docker.io385.25MB2025-09-24 15:37
114

docker.io/maven:3.6.3-jdk-8-openj9

linux/arm64 docker.io383.67MB2025-09-29 17:46
214

docker.io/maven:3.9-amazoncorretto-17-alpine

linux/amd64 docker.io307.39MB2025-10-13 14:06
117

docker.io/maven:3.6.2-jdk-13

linux/amd64 docker.io501.31MB2025-10-13 15:19
232

docker.io/maven:3-eclipse-temurin-8-noble

linux/arm64 docker.io385.25MB2025-10-22 15:21
86

docker.io/maven:3.8.3-openjdk-17

linux/amd64 docker.io785.23MB2025-10-27 00:08
103

docker.io/maven:4.0.0-rc-5-amazoncorretto-25-debian

linux/amd64 docker.io522.02MB2025-11-18 18:09
10