docker.io/maven:3.9.9-amazoncorretto-8 linux/amd64

docker.io/maven:3.9.9-amazoncorretto-8 - 国内下载镜像源 浏览次数:154

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

源镜像 docker.io/maven:3.9.9-amazoncorretto-8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.9.9-amazoncorretto-8
镜像ID sha256:7f497842d1ee53830e9b1432026467bb8b8591312295bba9617fe3f118ea83d4
镜像TAG 3.9.9-amazoncorretto-8
大小 825.73MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录 /
OS/平台 linux/amd64
浏览量 154 次
贡献者
镜像创建 2024-08-20T18:12:59Z
同步时间 2024-10-28 14:03
更新时间 2025-01-15 22:58
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/lib/jvm/java-1.8.0-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.9-amazoncorretto-8
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.9.9-amazoncorretto-8  docker.io/maven:3.9.9-amazoncorretto-8

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-08-21 02:12:59  0.00B 设置默认要执行的命令
CMD ["mvn"]
                        
# 2024-08-21 02:12:59  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
                        
# 2024-08-21 02:12:59  0.00B 设置环境变量 MAVEN_CONFIG
ENV MAVEN_CONFIG=/root/.m2
                        
# 2024-08-21 02:12:59  0.00B 定义构建参数
ARG USER_HOME_DIR=/root
                        
# 2024-08-21 02:12:59  0.00B 定义构建参数
ARG MAVEN_VERSION=3.9.9
                        
# 2024-08-21 02:12:59  24.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn # buildkit
                        
# 2024-08-21 02:12:59  0.00B 复制新文件或目录到容器中
COPY /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml # buildkit
                        
# 2024-08-21 02:12:59  1.65KB 复制新文件或目录到容器中
COPY /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh # buildkit
                        
# 2024-08-21 02:12:59  10.64MB 复制新文件或目录到容器中
COPY /usr/share/maven /usr/share/maven # buildkit
                        
# 2024-08-21 02:12:59  0.00B 设置环境变量 MAVEN_HOME
ENV MAVEN_HOME=/usr/share/maven
                        
# 2024-08-21 02:12:59  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.
                        
# 2024-08-21 02:12:59  0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
                        
# 2024-08-21 02:12:59  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
                        
# 2024-08-21 02:12:59  0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Apache Maven
                        
# 2024-08-21 02:12:59  80.31MB 执行命令并创建新的镜像层
RUN /bin/sh -c yum install -y openssh-clients # buildkit
                        
# 2024-08-21 02:12:59  385.31MB 执行命令并创建新的镜像层
RUN /bin/sh -c yum install -y tar which gzip # TODO remove # buildkit
                        
# 2024-08-21 02:12:59  0.00B 设置环境变量 JAVA_HOME
ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto
                        
# 2024-08-21 02:12:59  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-08-21 02:12:59  184.19MB 执行命令并创建新的镜像层
RUN |1 version=1.8.0_432.b06-1 /bin/sh -c set -eux     && export GNUPGHOME="$(mktemp -d)"     && curl -fL -o corretto.key https://yum.corretto.aws/corretto.key     && gpg --batch --import corretto.key     && gpg --batch --export --armor '6DC3636DAE534049C8B94623A122542AB04F24E3' > corretto.key     && rpm --import corretto.key     && rm -r "$GNUPGHOME" corretto.key     && curl -fL -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo     && grep -q '^gpgcheck=1' /etc/yum.repos.d/corretto.repo     && echo "priority=9" >> /etc/yum.repos.d/corretto.repo     && yum install -y java-1.8.0-amazon-corretto-devel-$version     && (find /usr/lib/jvm/java-1.8.0-amazon-corretto -name src.zip -delete || true)     && yum install -y fontconfig     && yum clean all # buildkit
                        
# 2024-08-21 02:12:59  0.00B 定义构建参数
ARG version=1.8.0_432.b06-1
                        
# 2024-08-21 02:12:59  0.00B 设置默认要执行的命令
CMD ["/bin/bash"]
                        
# 2024-08-21 02:12:59  165.29MB 复制新文件或目录到容器中
COPY /rootfs/ / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:7f497842d1ee53830e9b1432026467bb8b8591312295bba9617fe3f118ea83d4",
    "RepoTags": [
        "maven:3.9.9-amazoncorretto-8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.9.9-amazoncorretto-8"
    ],
    "RepoDigests": [
        "maven@sha256:44f717d88bc6bcb64a42b5dab67e7feec0d1edaefb339ad2de3a60d31be9400b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:2f3c517e221d123c6b1d9c2f6175e21578fa8595eb1cbfc143c4ff91afd0ea5d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-20T18:12:59Z",
    "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-1.8.0-amazon-corretto",
            "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": {
            "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": 825728475,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/756bc4c8b08439c868a1f8e58d859b6d544f02b17897a38cd3ded7810c64439c/diff:/var/lib/docker/overlay2/fd7e57353f28dc41962a6eb982c80dca22dd5dd18b6387d10a9f297a9321349f/diff:/var/lib/docker/overlay2/6ccd9dcb9d679022173aa0cce96f687d0c46de238fea027b18c65477f005f1d0/diff:/var/lib/docker/overlay2/81af839e06ee229dad91f55c0a06accd60210e593125cecd450844b599ae5904/diff:/var/lib/docker/overlay2/2e3d37f0138d3128aea95cc8b32aa27bb6701fd01b0b39e98cc94774ce79dfee/diff:/var/lib/docker/overlay2/de0ccefee31c772e7f6157c7c2f6488ef286949ac2aae485b31265f353f5125e/diff:/var/lib/docker/overlay2/07471c68ecf94dbfffca3fcade601ee6c8c2ace85ffa0cf75dd1dd2b7f19a932/diff",
            "MergedDir": "/var/lib/docker/overlay2/697f64c235b01b7898179a9de1fa353ae2f8c1cf5592ea5bfd97a990b4ab12fe/merged",
            "UpperDir": "/var/lib/docker/overlay2/697f64c235b01b7898179a9de1fa353ae2f8c1cf5592ea5bfd97a990b4ab12fe/diff",
            "WorkDir": "/var/lib/docker/overlay2/697f64c235b01b7898179a9de1fa353ae2f8c1cf5592ea5bfd97a990b4ab12fe/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1744c642d3df1bb8b96ce8fd2f141c61b428d0e075d46dd6cf48d25b534bf269",
            "sha256:a1d2432ea20ea50acc2ceeaed8bd11de7baf794f724c1ee8444869918941a1fe",
            "sha256:9884280fc956c09f8095bdf0ac8fdf38b52df640484bb892ed8fe0e2be550584",
            "sha256:3e69e35ea8f70ff4bca554bf66d3df1a11ed9637ed85183bf478d6ed427cc7ea",
            "sha256:453ceb981172dc948caea34a3db8d0bc58aa965e997e94af46cf37bf41552223",
            "sha256:5619a35824e5121fb437c4a1386025915ee354b23e4467b51bdc784f29d746bf",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:a12f84bd6f88c4a9c4c76bace3e7672f11829d40adfb9d25bc8c7dcb50f35061"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-28T14:02:03.626377492+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

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

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

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

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
107

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
118

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
97

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
196

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
153

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
99

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
56

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

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

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

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

docker.io/maven:3.6.3-openjdk-11

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