docker.io/gradle:7.2.0-jdk17 linux/amd64

docker.io/gradle:7.2.0-jdk17 - 国内下载镜像源 浏览次数:46
你好! 根据docker容器镜像名称docker.io/gradle,我们可以看到这是一个Gradle构建工具的镜像。

Gradle

Gradle是一个用于自动化构建、测试和发布软件项目的开源构建工具。它提供了许多特性,例如依赖管理、多模块构建、并行构建、测试运行等,使开发人员能够更容易地管理复杂的软件项目。

Gradle支持多种编程语言和框架,包括Java、Kotlin、Scala、Groovy等,并且可以与其他工具和系统集成使用,例如Maven、Ant、Jenkins等。它也是一个非常流行的构建工具之一,被广泛应用在Java生态圈中。

源镜像 docker.io/gradle:7.2.0-jdk17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17
镜像ID sha256:f640c96ac7466984091ea77d8180ffbcc5ae76a549ba66ed829c3542c322cf6e
镜像TAG 7.2.0-jdk17
大小 778.54MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD gradle
启动入口
工作目录 /home/gradle
OS/平台 linux/amd64
浏览量 46 次
贡献者 tz*******l@gmail.com
镜像创建 2021-11-05T19:43:14.844329138Z
同步时间 2024-10-30 21:54
更新时间 2024-11-12 05:05
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-17.0.1+12 JAVA_HOME=/opt/java/openjdk GRADLE_HOME=/opt/gradle GRADLE_VERSION=7.2
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2024-10-30 21:54

低危漏洞:233 中危漏洞:508 高危漏洞:29 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17  docker.io/gradle:7.2.0-jdk17

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17  docker.io/gradle:7.2.0-jdk17

Shell快速替换命令

sed -i 's#gradle:7.2.0-jdk17#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17  docker.io/gradle:7.2.0-jdk17'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17  docker.io/gradle:7.2.0-jdk17'

镜像历史

大小 创建时间 层信息
127.23MB 2021-11-06 03:43:14 |1 GRADLE_DOWNLOAD_SHA256=f581709a9c35e9cb92e16f585d2c4bc99b2b1a5f85d2badbd3dc6bff59e1e6dd /bin/sh -c set -o errexit -o nounset && echo "Downloading Gradle" && wget --no-verbose --output-document=gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" && echo "Checking download hash" && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - && echo "Installing Gradle" && unzip gradle.zip && rm gradle.zip && mv "gradle-${GRADLE_VERSION}" "${GRADLE_HOME}/" && ln --symbolic "${GRADLE_HOME}/bin/gradle" /usr/bin/gradle && echo "Testing Gradle installation" && gradle --version
0.00B 2021-11-06 03:43:09 /bin/sh -c #(nop) ARG GRADLE_DOWNLOAD_SHA256=f581709a9c35e9cb92e16f585d2c4bc99b2b1a5f85d2badbd3dc6bff59e1e6dd
0.00B 2021-11-06 03:43:09 /bin/sh -c #(nop) ENV GRADLE_VERSION=7.2
192.06MB 2021-11-06 03:43:08 /bin/sh -c set -o errexit -o nounset && apt-get update && apt-get install --yes --no-install-recommends unzip wget bzr git git-lfs mercurial openssh-client subversion && rm --recursive --force /var/lib/apt/lists/* && echo "Testing VCSes" && which bzr && which git && which git-lfs && which hg && which svn
0.00B 2021-11-06 03:42:48 /bin/sh -c #(nop) WORKDIR /home/gradle
0.00B 2021-11-06 03:42:48 /bin/sh -c #(nop) VOLUME [/home/gradle/.gradle]
333.73KB 2021-11-06 03:42:47 /bin/sh -c set -o errexit -o nounset && echo "Adding gradle user and group" && groupadd --system --gid 1000 gradle && useradd --system --gid gradle --uid 1000 --shell /bin/bash --create-home gradle && mkdir /home/gradle/.gradle && chown --recursive gradle:gradle /home/gradle && echo "Symlinking root Gradle cache to gradle Gradle cache" && ln --symbolic /home/gradle/.gradle /root/.gradle
0.00B 2021-11-06 03:42:47 /bin/sh -c #(nop) ENV GRADLE_HOME=/opt/gradle
0.00B 2021-11-06 03:42:46 /bin/sh -c #(nop) CMD ["gradle"]
0.00B 2021-11-06 03:21:24 /bin/sh -c #(nop) CMD ["jshell"]
0.00B 2021-11-06 03:21:24 /bin/sh -c echo Verifying install ... && echo javac --version && javac --version && echo java --version && java --version && echo Complete.
0.00B 2021-11-06 03:21:23 /bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
329.95MB 2021-11-06 03:21:23 /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='f23d482b2b4ada08166201d1a0e299e3e371fdca5cd7288dcbd81ae82f3a75e3'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.1_12.tar.gz'; ;; armhf|arm) ESUM='f5945a39929384235e7cb1c57df071b8c7e49274632e2a54e54b2bad05de21a5'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_arm_linux_hotspot_17.0.1_12.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='bd65d4e8ecc4236924ae34d2075b956799abca594021e1b40c36aa08a0d610b0'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.1_12.tar.gz'; ;; s390x|s390:64-bit) ESUM='dcc17e6ef28984656e997b6b8a6a31c89f45aff87a56b5d3819137c8f1050bef'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.1_12.tar.gz'; ;; amd64|i386:x86-64) ESUM='6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; rm -rf /tmp/openjdk.tar.gz;
0.00B 2021-11-06 03:21:12 /bin/sh -c #(nop) ENV JAVA_VERSION=jdk-17.0.1+12
56.19MB 2021-10-16 10:45:43 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales binutils && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/*
0.00B 2021-10-16 10:44:06 /bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2021-10-16 08:37:47 /bin/sh -c #(nop) CMD ["bash"]
72.78MB 2021-10-16 08:37:47 /bin/sh -c #(nop) ADD file:5d68d27cc15a80653c93d3a0b262a28112d47a46326ff5fc2dfbf7fa3b9a0ce8 in /

镜像信息

{
    "Id": "sha256:f640c96ac7466984091ea77d8180ffbcc5ae76a549ba66ed829c3542c322cf6e",
    "RepoTags": [
        "gradle:7.2.0-jdk17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk17"
    ],
    "RepoDigests": [
        "gradle@sha256:67de4380b26d2b5406077cf5439b3488d139f7fedd9bdb8ddfadbe277750ede8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle@sha256:39b5b96f82b805810f9032b48d11451753d68d494a9faba473a72351fc5287ac"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-11-05T19:43:14.844329138Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.7",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-17.0.1+12",
            "JAVA_HOME=/opt/java/openjdk",
            "GRADLE_HOME=/opt/gradle",
            "GRADLE_VERSION=7.2"
        ],
        "Cmd": [
            "gradle"
        ],
        "Image": "sha256:3397b23c6a47b9945935a9d95ee320dc90d5e8819878f3e5656ca8c2727b4b3b",
        "Volumes": {
            "/home/gradle/.gradle": {}
        },
        "WorkingDir": "/home/gradle",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 778537979,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/55bae2255840ccb46239906d715f03a20ad5bb4f4639797940ec142ab0e096b3/diff:/var/lib/docker/overlay2/5275821e9445a0cf98d7f94968d079c2593859ea81aac8178f99bd0605203f32/diff:/var/lib/docker/overlay2/55329b741a4baf9cb8d4fa00e62202624a6e21244b4a808bc8a193942bfb7182/diff:/var/lib/docker/overlay2/5c5eedc94b658000127b5d4dcad6768e28d09c2c1edc7bf4667eff97b4fa9704/diff:/var/lib/docker/overlay2/ea2a08c629f3d67acfdb689377eec0185c88f61bf2ae6dd4b07192fbfddc9494/diff:/var/lib/docker/overlay2/3d79851963302e44bbb78cbca66cc38ba1365e2ce48dba8b7673463c6b48e4d4/diff",
            "MergedDir": "/var/lib/docker/overlay2/a4dfc8729337780c890beef51df34bd7e11cef1ae4e2be1ccb1d37002794ffe5/merged",
            "UpperDir": "/var/lib/docker/overlay2/a4dfc8729337780c890beef51df34bd7e11cef1ae4e2be1ccb1d37002794ffe5/diff",
            "WorkDir": "/var/lib/docker/overlay2/a4dfc8729337780c890beef51df34bd7e11cef1ae4e2be1ccb1d37002794ffe5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9f54eef412758095c8079ac465d494a2872e02e90bf1fb5f12a1641c0d1bb78b",
            "sha256:3b7895af4907e93722ad077d5358488206c68f3f65305365b62b12e383289716",
            "sha256:e93ba4ae9d92107d5e6210a0ed66a80f12b70e49b139776b668c96662fc2dab4",
            "sha256:769512c1a3e356c9740db53b80ab64b73f6b18a166488a2b219ab80825b0f705",
            "sha256:22750ba48bfd15bf1f2572c1930dda401f5d174c026b1164830e33383e4c442e",
            "sha256:10bdb0794ddcb9d274b9ccd01160a4e3c771d09500eee0e7f2b632e4c2c6f709",
            "sha256:20b196e050a355278eca3771d2190fabcb1046ac28c5eef00f18ea3e4810ee31"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-30T21:53:30.743370826+08:00"
    }
}

更多版本

docker.io/gradle:8.8-jdk21

linux/amd64 docker.io747.16MB2024-08-30 10:47
151

docker.io/gradle:8.5-jdk21

linux/amd64 docker.io741.49MB2024-08-30 10:50
94

docker.io/gradle:7.2.0-jdk17

linux/amd64 docker.io778.54MB2024-10-30 21:54
45

docker.io/gradle:8.10.2-jdk21

linux/amd64 docker.io749.75MB2024-11-06 15:33
19