docker.io/amd64/maven:3.8-openjdk-8 linux/amd64

docker.io/amd64/maven:3.8-openjdk-8 - 国内下载镜像源 浏览次数:92
这是docker镜像的描述信息:

这是一个基于amd64架构的Maven镜像

它提供了一个完整的Maven环境,可以用于编译、打包和部署Java项目

源镜像 docker.io/amd64/maven:3.8-openjdk-8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/maven:3.8-openjdk-8
镜像ID sha256:4edc8c438f43cf132f12c2e984668e727ef3907bdf4c1866285bcacfe466ce55
镜像TAG 3.8-openjdk-8
大小 536.21MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mvn
启动入口 /usr/local/bin/mvn-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 92 次
贡献者
镜像创建 2022-08-03T07:33:44.941353372Z
同步时间 2024-09-27 16:08
更新时间 2024-11-20 11:02
环境变量
PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/local/openjdk-8 LANG=C.UTF-8 JAVA_VERSION=8u342 MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.4 扫描引擎: Trivy 扫描时间: 2024-10-27 18:12

低危漏洞:180 中危漏洞:169 高危漏洞:166 严重漏洞:40

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/maven:3.8-openjdk-8
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/maven:3.8-openjdk-8  docker.io/amd64/maven:3.8-openjdk-8

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-08-03 15:33:44 /bin/sh -c #(nop) CMD ["mvn"]
0.00B 2022-08-03 15:33:44 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
327.00B 2022-08-03 15:33:44 /bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/
1.65KB 2022-08-03 15:33:44 /bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh
0.00B 2022-08-03 15:33:44 /bin/sh -c #(nop) ENV MAVEN_CONFIG=/root/.m2
0.00B 2022-08-03 15:33:44 /bin/sh -c #(nop) ENV MAVEN_HOME=/usr/share/maven
10.16MB 2022-08-03 15:33:44 |4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.8.6/binaries MAVEN_VERSION=3.8.6 SHA=f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 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-08-03 15:33:38 /bin/sh -c #(nop) ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.8.6/binaries
0.00B 2022-08-03 15:33:37 /bin/sh -c #(nop) ARG SHA=f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26
0.00B 2022-08-03 15:33:37 /bin/sh -c #(nop) ARG USER_HOME_DIR=/root
0.00B 2022-08-03 15:33:37 /bin/sh -c #(nop) ARG MAVEN_VERSION=3.8.6
209.16MB 2022-08-02 13:54:47 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jdk_x64_linux_8u342b07.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jdk_aarch64_linux_8u342b07.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; wget --progress=dot:giga -O openjdk.tgz.asc "$downloadUrl.sign"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --keyserver keyserver.ubuntu.com --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/jre/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; javac -version; java -version
0.00B 2022-08-02 13:54:38 /bin/sh -c #(nop) ENV JAVA_VERSION=8u342
0.00B 2022-08-02 13:54:37 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-08-02 13:54:37 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
27.00B 2022-08-02 13:54:37 /bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ] # backwards compatibility
0.00B 2022-08-02 13:54:37 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
11.32MB 2022-08-02 13:51:54 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
151.95MB 2022-08-02 09:47:17 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
18.95MB 2022-08-02 09:47:01 /bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
10.69MB 2022-08-02 09:46:56 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
0.00B 2022-08-02 09:19:54 /bin/sh -c #(nop) CMD ["bash"]
123.98MB 2022-08-02 09:19:54 /bin/sh -c #(nop) ADD file:d0f758e50c654c225f6c7f03e8a579efc9106437051573bdbae5e63b1c4b2c1f in /

镜像信息

{
    "Id": "sha256:4edc8c438f43cf132f12c2e984668e727ef3907bdf4c1866285bcacfe466ce55",
    "RepoTags": [
        "amd64/maven:3.8-openjdk-8",
        "maven:3.8-openjdk-8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/maven:3.8-openjdk-8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven:3.8-openjdk-8"
    ],
    "RepoDigests": [
        "amd64/maven@sha256:29cc4c106af036b3727fad911174511d5af3103710419e1fd3d0718aa217f7ae",
        "maven@sha256:ff18d86faefa15d1445d0fa4874408cc96dec068eb3487a0fc6d07f359a24607",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/maven@sha256:29cc4c106af036b3727fad911174511d5af3103710419e1fd3d0718aa217f7ae",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/maven@sha256:29cc4c106af036b3727fad911174511d5af3103710419e1fd3d0718aa217f7ae"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-03T07:33:44.941353372Z",
    "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/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/local/openjdk-8",
            "LANG=C.UTF-8",
            "JAVA_VERSION=8u342",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": [
            "mvn"
        ],
        "Image": "sha256:7c7c89790251a49e0d7037111055f2a0f66db3910b0351f821c2ec8336c5f82a",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/mvn-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 536208861,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/697fa1493e85792f5d858cf6fae4db3f5da1aa7f12f5909cf0e4999d14becb14/diff:/var/lib/docker/overlay2/0d69d7a486fd31b7598c59b302e6ca94226a896ec61aa5dfb0cfc04af313df95/diff:/var/lib/docker/overlay2/a0ad3d57d0148e5662512216e81895d9599e6a44f11c94b873574a2bd64d576e/diff:/var/lib/docker/overlay2/7db880cf66c20b6e77662ba1e6a6c3fd99b0f101d4dd20aaa6c35f13f7ef5d4a/diff:/var/lib/docker/overlay2/64c4dc24c8decb39e3d8836e09d6689cce8fd736b6cf5212284492258468d1ca/diff:/var/lib/docker/overlay2/79899e0c8d54664e26f455165d1a50103aa5020f36d27f66ad92823bf1ff1121/diff:/var/lib/docker/overlay2/2b742f1b943eaf6a921f9d167b659f65fe77e08196afe5eec754077d80a0b644/diff:/var/lib/docker/overlay2/736ab5549e408683a6eefd8ed5c450eba329e2aced085e8b96321e9e393688c0/diff:/var/lib/docker/overlay2/c60688b2adfc1a12f092b2a6ddbe55b5a31127643978c3e2e5701404845475a3/diff",
            "MergedDir": "/var/lib/docker/overlay2/eebcef6d0df8aa83f6451734bd849d410f7a1d08378875a7029d817a5a656d1d/merged",
            "UpperDir": "/var/lib/docker/overlay2/eebcef6d0df8aa83f6451734bd849d410f7a1d08378875a7029d817a5a656d1d/diff",
            "WorkDir": "/var/lib/docker/overlay2/eebcef6d0df8aa83f6451734bd849d410f7a1d08378875a7029d817a5a656d1d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9c742cd6c7a5752ee36be8ecb14be45c0885e10e6dd34f26a9ae3eb096c5d492",
            "sha256:03127cdb479b0f1eb8a9b0df8e8d72ead24979728d3c84ff645611b9d8790f94",
            "sha256:293d5db30c9fcf33b65fa033e427fdd118464f9ea0c2a343a478a6e89c29140e",
            "sha256:9b55156abf262eac3e6bd3ae60e7277ab4f9c69543650d7ecefc8c26ee889873",
            "sha256:b626401ef603dd383fc3a43cf474186827db1875591bfc84b178177ca010015b",
            "sha256:53a0b163e9955ffb80569ef37e13fbf5d1074ddd67bc5ad09d7bd874b800396a",
            "sha256:6b5aaff4425423d122ebe4f1514a1994ae60954fc8a2299787df0ddb1a12f6b9",
            "sha256:db1b0ba9f1ecf600994a26422a7ee40e9d9ecc39022ecfb1ef1331110c70a90d",
            "sha256:7aed8859f8369b999039172f656cb9cb00da886934fdf56754c808536fc16721",
            "sha256:bdc17c0f24d5cae07b18740d4526fd39293bbfeae48c866fcb12e031bb354de8"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-27T16:08:37.540039606+08:00"
    }
}

更多版本

docker.io/amd64/maven:3.8-openjdk-8

linux/amd64 docker.io536.21MB2024-09-27 16:08
91