docker.io/maven:3.8.5-openjdk-17 linux/amd64

docker.io/maven:3.8.5-openjdk-17 - 国内下载镜像源 浏览次数:577

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

源镜像 docker.io/maven:3.8.5-openjdk-17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.5-openjdk-17
镜像ID sha256:db741528e48aea788f63f806230fd5b3f0edcd0508dedd00357f069bc0c37ea0
镜像TAG 3.8.5-openjdk-17
大小 797.99MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 577 次
贡献者
镜像创建 2022-04-27T23:00:23.247180084Z
同步时间 2024-07-04 15:41
更新时间 2024-11-21 12:58
环境变量
PATH=/usr/java/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/java/openjdk-17 LANG=C.UTF-8 JAVA_VERSION=17.0.2 MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.5-openjdk-17
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.5-openjdk-17  docker.io/maven:3.8.5-openjdk-17

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-04-28 07:00:23 /bin/sh -c #(nop) CMD ["mvn"]
0.00B 2022-04-28 07:00:23 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
327.00B 2022-04-28 07:00:23 /bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/
1.65KB 2022-04-28 07:00:22 /bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh
0.00B 2022-04-28 07:00:22 /bin/sh -c #(nop) ENV MAVEN_CONFIG=/root/.m2
0.00B 2022-04-28 07:00:22 /bin/sh -c #(nop) ENV MAVEN_HOME=/usr/share/maven
10.15MB 2022-04-28 07:00:22 |4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.8.5/binaries MAVEN_VERSION=3.8.5 SHA=89ab8ece99292476447ef6a6800d9842bbb60787b9b8a45c103aa61d2f205a971d8c3ddfb8b03e514455b4173602bd015e82958c0b3ddc1728a57126f773c743 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-04-28 07:00:21 /bin/sh -c #(nop) ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.8.5/binaries
0.00B 2022-04-28 07:00:21 /bin/sh -c #(nop) ARG SHA=89ab8ece99292476447ef6a6800d9842bbb60787b9b8a45c103aa61d2f205a971d8c3ddfb8b03e514455b4173602bd015e82958c0b3ddc1728a57126f773c743
0.00B 2022-04-28 07:00:20 /bin/sh -c #(nop) ARG USER_HOME_DIR=/root
0.00B 2022-04-28 07:00:20 /bin/sh -c #(nop) ARG MAVEN_VERSION=3.8.5
316.36MB 2022-04-28 07:00:19 /bin/sh -c microdnf install findutils git
0.00B 2022-04-28 05:54:28 /bin/sh -c #(nop) CMD ["jshell"]
321.28MB 2022-04-28 05:54:28 /bin/sh -c set -eux; arch="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in 'i386:x86-64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz'; downloadSha256='0022753d0cceecacdd3a795dd4cea2bd7ffdf9dc06e22ffd1be98411742fbb44'; ;; 'aarch64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-aarch64_bin.tar.gz'; downloadSha256='13bfd976acf8803f862e82c7113fb0e9311ca5458b1decaef8a09ffd91119fa4'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -o openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
0.00B 2022-04-28 05:54:18 /bin/sh -c #(nop) ENV JAVA_VERSION=17.0.2
0.00B 2022-04-28 05:54:18 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-04-28 05:54:18 /bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2022-04-28 05:54:18 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-17
39.67MB 2022-04-28 05:53:12 /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all
0.00B 2022-04-28 04:33:05 /bin/sh -c #(nop) CMD ["/bin/bash"]
110.52MB 2022-04-28 04:33:04 /bin/sh -c #(nop) ADD file:9893213a9ea238f53ac68d87a3cf2f05d86763688392e5ddb6a2c9b60d3550a6 in /

镜像信息

{
    "Id": "sha256:db741528e48aea788f63f806230fd5b3f0edcd0508dedd00357f069bc0c37ea0",
    "RepoTags": [
        "maven:3.8.5-openjdk-17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8.5-openjdk-17"
    ],
    "RepoDigests": [
        "maven@sha256:3a9c30b3af6278a8ae0007d3a3bf00fff80ec3ed7ae4eb9bfa1772853101549b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:62e6a9e10fb57f3019adeea481339c999930e7363f2468d1f51a7c0be4bca26d"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-04-27T23:00:23.247180084Z",
    "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/java/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/java/openjdk-17",
            "LANG=C.UTF-8",
            "JAVA_VERSION=17.0.2",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "Image": "sha256:b210e16878bf87854ad644eceb5bf1e6acc0f25d9f94c69044172efea4a71943",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 797986350,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/735fce676ff2cf9336ebf573e89cccf3e490c28a349b1a1e3374cd339b277643/diff:/var/lib/docker/overlay2/66751b1338ec9631f9543c941bfaf0797b22672b575911a9c579911162a718a7/diff:/var/lib/docker/overlay2/744910e03e956ca08e2b84dae0ce77abea199eea9be76f30ab9229828a668ad3/diff:/var/lib/docker/overlay2/cb21b09d28dd1771ee5636219afe4a7fde3f4742b581ed5ed97ff7abae840b28/diff:/var/lib/docker/overlay2/0c2c821e53c0ffe71d344d4c6fdd5feb8a3ee346bff1d56330bbed3fb4e43452/diff:/var/lib/docker/overlay2/37c2cd5def8bf867c2d3f5f244f4edd07348a36cf2cc22c78578565b95b7f72e/diff",
            "MergedDir": "/var/lib/docker/overlay2/8b235870ebf0beb7f68e18f54abeb12ad7b618ece5367e31e562f3a663749fa3/merged",
            "UpperDir": "/var/lib/docker/overlay2/8b235870ebf0beb7f68e18f54abeb12ad7b618ece5367e31e562f3a663749fa3/diff",
            "WorkDir": "/var/lib/docker/overlay2/8b235870ebf0beb7f68e18f54abeb12ad7b618ece5367e31e562f3a663749fa3/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c8dd97366670ed499701572c321fb87ef4f9287308536563a8f1e3fd39ff2166",
            "sha256:27ee19dc88f2661d3e42161a9b0b5f4c59089269ee71c9f212c71139ea9edf52",
            "sha256:dc9fa3d8b576eada8a4f97ca296d0db470ea7342d544e7e2f3c42715d20c2798",
            "sha256:59a38ce30e8ea17252632462c03195029d16cdf1f07110862aecd01b2b5343cc",
            "sha256:4419654531399ca76b7f449f84e196c70d2ad4d22b98da5be24bed9a524693a1",
            "sha256:224f1c4ad382c62231c3d52cc1f1b40a9ed282b4a3159f9d68d60455604766b2",
            "sha256:8e6fc7423db3730ca1c046c8f8e6d5880e69431dc7a5eaf07c11e2a6377fa539"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-04T15:40:28.30673674+08:00"
    }
}

更多版本

docker.io/maven:3.8.5-openjdk-17

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

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