docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie linux/amd64

docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie - 国内下载镜像源 浏览次数:11

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

源镜像 docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie
镜像ID sha256:0e909412f268c90572431b246bc07e5675d281deb6dea5086dda0e60e194bf00
镜像TAG 3.9.12-amazoncorretto-11-debian-trixie
大小 434.17MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 11 次
贡献者
镜像创建 2026-01-16T02:44:25.911222164Z
同步时间 2026-02-28 17:13
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/lib/jvm/java-11-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:3.9.12-amazoncorretto-11-debian-trixie
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie  docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-01-16 10:44:25  0.00B 设置默认要执行的命令
CMD ["mvn"]
                        
# 2026-01-16 10:44:25  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
                        
# 2026-01-16 10:44:25  0.00B 设置环境变量 MAVEN_CONFIG
ENV MAVEN_CONFIG=/root/.m2
                        
# 2026-01-16 10:44:25  0.00B 定义构建参数
ARG USER_HOME_DIR=/root
                        
# 2026-01-16 10:44:25  0.00B 定义构建参数
ARG MAVEN_VERSION=3.9.12
                        
# 2026-01-16 10:44:25  24.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn # buildkit
                        
# 2026-01-16 10:44:25  0.00B 复制新文件或目录到容器中
COPY /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml # buildkit
                        
# 2026-01-16 10:44:25  1.65KB 复制新文件或目录到容器中
COPY /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh # buildkit
                        
# 2026-01-16 10:44:25  10.82MB 复制新文件或目录到容器中
COPY /usr/share/maven /usr/share/maven # buildkit
                        
# 2026-01-16 10:44:25  0.00B 设置环境变量 MAVEN_HOME
ENV MAVEN_HOME=/usr/share/maven
                        
# 2026-01-16 10:44:25  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.
                        
# 2026-01-16 10:44:25  0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
                        
# 2026-01-16 10:44:25  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
                        
# 2026-01-16 10:44:25  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Apache Maven
                        
# 2026-01-16 10:44:25  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto
                        
# 2026-01-16 10:44:25  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2026-01-16 10:44:25  344.73MB 执行命令并创建新的镜像层
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-11-amazon-corretto-jdk   && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-01-12 08:00:00  78.61MB 
# debian.sh --arch 'amd64' out/ 'trixie' '@1768176000'
                        
                    

镜像信息

{
    "Id": "sha256:0e909412f268c90572431b246bc07e5675d281deb6dea5086dda0e60e194bf00",
    "RepoTags": [
        "maven:3.9.12-amazoncorretto-11-debian-trixie",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie"
    ],
    "RepoDigests": [
        "maven@sha256:fb4315d0e172881856a3b7e6c4be56e24f38028d1101c78ccaca354141cc5766",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:a56dbf7fffb437c2f2752c16e64283cca473fd454714ab4c210d8bb91061cc99"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-01-16T02:44:25.911222164Z",
    "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-11-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": 434169055,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9fa24c12948fa541baed7caa303a03a5248301715e01aaab20287395842bb889/diff:/var/lib/docker/overlay2/adf00a3025584271a450f43f585d81ae7296ebd037b640ead4a5e10afbf969e3/diff:/var/lib/docker/overlay2/f815a1eedde73b84d3f26efddfce8866dd138c8d837ef4ec678c187dc24f3cf4/diff:/var/lib/docker/overlay2/0df185efac212f65e355d51baa13d7ff41776e7f90a55ce0550d3f35f0651a7e/diff:/var/lib/docker/overlay2/9919d9c295b8b76846527a8146da676318b8cc06575ec1cf04429849b3a02fbe/diff",
            "MergedDir": "/var/lib/docker/overlay2/20b751803037b828dd126d28c6c473f00d40d7c5ea9fa466f3cf12c280f00c1f/merged",
            "UpperDir": "/var/lib/docker/overlay2/20b751803037b828dd126d28c6c473f00d40d7c5ea9fa466f3cf12c280f00c1f/diff",
            "WorkDir": "/var/lib/docker/overlay2/20b751803037b828dd126d28c6c473f00d40d7c5ea9fa466f3cf12c280f00c1f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e50a58335e1366e2581fe61794c1651afe2fe04e881e795aa166f24f4fc78d92",
            "sha256:aa462b37e6b109bb9d217868a15deb8eaf6b532bb6fe8197df4f2812fef1d0d1",
            "sha256:0739b3a9b7e4336451b4d74dc8909546690cd558ee0c4ee2d8384bfa78adb1ac",
            "sha256:0345e97d6252ac806a79eafd541c27265c1879155f81a1224f2f5c355e68ceda",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:900c2605af007eca704ecdaa4879a1613d4793de6dd09f861f284de6f909ed3d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-02-28T17:12:45.281740197+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

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

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

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

docker.io/maven:3.8-openjdk-8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

docker.io/maven:3.6.3-jdk-8

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

docker.io/maven:3-openjdk-8

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

docker.io/maven:3.9.9-amazoncorretto-8

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

docker.io/maven:3.6.3-openjdk-17

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

docker.io/maven:3.6.3-openjdk-8

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

docker.io/maven:3.8.7-openjdk-18

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

docker.io/maven:3.8.6-openjdk-8

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

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

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

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

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

docker.io/maven:3.6.3-openjdk-11

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

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

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

docker.io/maven:3.8.6-jdk-8

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

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

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

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

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

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

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

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

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

docker.io/maven:3.8.3-jdk-8

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

docker.io/maven:3.6.3-jdk-11

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

docker.io/maven:3.8.5-openjdk-11

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

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

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

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

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

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

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

docker.io/maven:3.9.6-sapmachine-21

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

docker.io/maven:3.8.4-openjdk-11

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

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

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

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

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

docker.io/maven:latest

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

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

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

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

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

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

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

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

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

docker.io/maven:3-jdk-8

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

docker.io/maven:3-openjdk-11

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

docker.io/maven:3.8.3-openjdk-11

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

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

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

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

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

docker.io/maven:3-openjdk-17

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

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

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

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

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

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

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

docker.io/maven:3.8-openjdk-17

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

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

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

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

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

docker.io/maven:3-alpine

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

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

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

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

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

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

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

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

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

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

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

docker.io/maven:3.6.2-jdk-13

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

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

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

docker.io/maven:3.8.3-openjdk-17

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

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

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

docker.io/maven:3.8.1-openjdk-11

linux/amd64 docker.io658.84MB2025-11-21 09:08
243

docker.io/maven:3.8.1-jdk-8-slim

linux/amd64 docker.io306.36MB2025-11-22 00:39
254

docker.io/maven:3.8.6-openjdk-11

linux/amd64 docker.io664.33MB2025-11-26 16:03
282

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

linux/amd64 docker.io352.45MB2025-11-30 01:03
253

docker.io/maven:3.9.11

linux/amd64 docker.io478.71MB2025-12-01 02:17
513

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

linux/amd64 docker.io501.98MB2025-12-03 18:01
219

docker.io/maven:3.9.11-eclipse-temurin-25-noble

linux/amd64 docker.io478.71MB2025-12-04 10:36
343

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

linux/arm64 docker.io306.73MB2025-12-08 16:56
305

docker.io/maven:3.8.1-openjdk-8

linux/amd64 docker.io525.32MB2025-12-24 14:52
139

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

linux/arm64 docker.io385.06MB2025-12-25 15:03
230

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

linux/amd64 docker.io396.71MB2026-01-13 09:43
224

docker.io/maven:3.6.1-jdk-11

linux/amd64 docker.io615.59MB2026-01-21 16:07
107

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

linux/amd64 docker.io502.78MB2026-01-23 15:14
148

docker.io/maven:3-openjdk-8

linux/amd64 docker.io536.21MB2026-01-26 15:41
74

docker.io/maven:3-openjdk-11

linux/amd64 docker.io664.33MB2026-01-26 15:45
56

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

linux/amd64 docker.io391.26MB2026-02-13 17:46
104

docker.io/maven:3.9.12-amazoncorretto-11-debian-trixie

linux/amd64 docker.io434.17MB2026-02-28 17:13
10