docker.io/gradle:8.5-jdk21 linux/amd64

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

Gradle

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

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

源镜像 docker.io/gradle:8.5-jdk21
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.5-jdk21
镜像ID sha256:2fa5867ac5f8c89dc4992c88fba17f47a3fcb1e09bfb13d473749c3e83c45006
镜像TAG 8.5-jdk21
大小 741.49MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD gradle
启动入口 /__cacert_entrypoint.sh
工作目录 /home/gradle
OS/平台 linux/amd64
浏览量 105 次
贡献者 gu**n@srccwl.com
镜像创建 2024-02-02T16:41:06.415681647Z
同步时间 2024-08-30 10:50
更新时间 2024-11-24 11:37
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/opt/java/openjdk LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-21.0.2+13 GRADLE_HOME=/opt/gradle GRADLE_VERSION=8.5
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-02-03 00:41:06 /bin/sh -c #(nop) USER root
0.00B 2024-02-03 00:41:06 |1 GRADLE_DOWNLOAD_SHA256=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026 /bin/sh -c set -o errexit -o nounset && echo "Testing Gradle installation" && gradle --version
0.00B 2024-02-03 00:41:05 /bin/sh -c #(nop) USER gradle
146.87MB 2024-02-03 00:41:04 |1 GRADLE_DOWNLOAD_SHA256=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026 /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 Gradle 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
0.00B 2024-02-03 00:41:00 /bin/sh -c #(nop) ARG GRADLE_DOWNLOAD_SHA256=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026
0.00B 2024-02-03 00:41:00 /bin/sh -c #(nop) ENV GRADLE_VERSION=8.5
158.10MB 2024-02-03 00:40:59 /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 2024-02-03 00:40:42 /bin/sh -c #(nop) WORKDIR /home/gradle
0.00B 2024-02-03 00:40:41 /bin/sh -c #(nop) VOLUME [/home/gradle/.gradle]
333.72KB 2024-02-03 00:40:41 /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 && chmod --recursive o+rwx /home/gradle && echo "Symlinking root Gradle cache to gradle Gradle cache" && ln --symbolic /home/gradle/.gradle /root/.gradle
0.00B 2024-02-03 00:40:41 /bin/sh -c #(nop) ENV GRADLE_HOME=/opt/gradle
0.00B 2024-02-03 00:40:41 /bin/sh -c #(nop) CMD ["gradle"]
0.00B 2024-02-02 15:45:59 /bin/sh -c #(nop) CMD ["jshell"]
0.00B 2024-02-02 15:45:59 /bin/sh -c #(nop) ENTRYPOINT ["/__cacert_entrypoint.sh"]
1.18KB 2024-02-02 15:45:59 /bin/sh -c #(nop) COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh
0.00B 2024-02-02 15:45:59 /bin/sh -c set -eux; echo "Verifying install ..."; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; echo "javac --version"; javac --version; echo "java --version"; java --version; echo "Complete."
308.30MB 2024-02-02 15:45:57 /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='3ce6a2b357e2ef45fd6b53d6587aa05bfec7771e7fb982f2c964f6b771b7526a'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.2_13.tar.gz'; ;; amd64|i386:x86-64) ESUM='454bebb2c9fe48d981341461ffb6bf1017c7b7c6e15c6b0c29b959194ba3aaa5'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_x64_linux_hotspot_21.0.2_13.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='d08de863499d8851811c893e8915828f2cd8eb67ed9e29432a6b4e222d80a12f'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.2_13.tar.gz'; ;; s390x|s390:64-bit) ESUM='0d5676c50821e0d0b951bf3ffd717e7a13be2a89d8848a5c13b4aedc6f982c78'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.2_13.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump;
0.00B 2024-02-02 15:45:48 /bin/sh -c #(nop) ENV JAVA_VERSION=jdk-21.0.2+13
50.03MB 2024-02-02 15:45:02 /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit binutils tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/*
0.00B 2024-02-02 15:42:24 /bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-02-02 15:42:24 /bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-02-02 15:42:24 /bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
0.00B 2024-01-26 01:54:41 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-01-26 01:54:40 /bin/sh -c #(nop) ADD file:99224b1f237763b3053ca27ea5641f9a801c21154c7ccbff2c099654cc6db942 in /
0.00B 2024-01-26 01:54:38 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-01-26 01:54:38 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-01-26 01:54:38 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-01-26 01:54:38 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:2fa5867ac5f8c89dc4992c88fba17f47a3fcb1e09bfb13d473749c3e83c45006",
    "RepoTags": [
        "gradle:8.5-jdk21",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.5-jdk21"
    ],
    "RepoDigests": [
        "gradle@sha256:873def2b8a73d00f5616043ac9ff65576b055942701391ad66499f1a1f53f1b2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle@sha256:6fbc64efc26b6b092b7ba0b2584de23985817edc65e0db6f105e1bbfb83b5314"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2024-02-02T16:41:06.415681647Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "root",
        "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",
            "JAVA_HOME=/opt/java/openjdk",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-21.0.2+13",
            "GRADLE_HOME=/opt/gradle",
            "GRADLE_VERSION=8.5"
        ],
        "Cmd": [
            "gradle"
        ],
        "Image": "sha256:b874d04446d3127632c793017a70f57b9c41609fb95d96e9047870dc14816f77",
        "Volumes": {
            "/home/gradle/.gradle": {}
        },
        "WorkingDir": "/home/gradle",
        "Entrypoint": [
            "/__cacert_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 741488848,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a31c4a915371ab84b592ee7227d01ed12ad14738fab0fac49f3f0b0edc32befc/diff:/var/lib/docker/overlay2/61c7bf980291561e2f8b7438f1fab4fd53f28f818da5414c70cde0516908a210/diff:/var/lib/docker/overlay2/2cf54b7caf4bd8806fb7e5e29d77622aeadd6f57173323d80aada0b6b1a4046f/diff:/var/lib/docker/overlay2/6e8a2be0e9dad64d5eda1d41d3a45be0849bd34f6eb6caefe1b18cc736448d6c/diff:/var/lib/docker/overlay2/e9346ff8c6c921bbe97b3155a6311ec5bd28295cd3e990b514346e7c8f1a1bff/diff:/var/lib/docker/overlay2/aba6a0a67f4fc16d36a25911ca9308eaaa7b82ca9a3c204e4577442cf024a6a8/diff:/var/lib/docker/overlay2/d98c6e5e560d6eea9254f1430a764c91bf7666f38e9732c4e20b30c91c2d7d57/diff:/var/lib/docker/overlay2/14c22751c9e034049f30595386022f301531cda7e5c49335ad99242037cab064/diff",
            "MergedDir": "/var/lib/docker/overlay2/800e0528d980077678ba00732882951f4cef3937c124358dda8d097b33bafd8e/merged",
            "UpperDir": "/var/lib/docker/overlay2/800e0528d980077678ba00732882951f4cef3937c124358dda8d097b33bafd8e/diff",
            "WorkDir": "/var/lib/docker/overlay2/800e0528d980077678ba00732882951f4cef3937c124358dda8d097b33bafd8e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1a102d1cac2bdae8a0160ac4365d4f8653e9d6da56c793a665d556ae07fb7f82",
            "sha256:ab995379f7a6002e58a65bcfcb21060cf124c01e603f8b84a26ddbf5222ebf12",
            "sha256:eb81a90911ef66aa186225f69a50bd9539dc0d58f31f555a165c5294b078a685",
            "sha256:82b56c0ec2cb198f40a7143fe43eb081ad112e4034f11ce943cdc629c3a0b041",
            "sha256:44514f573ec000e6effda6c9aa41e87c9fc904fa0fd109c0408431f03a668664",
            "sha256:0b5c6f8924e0d3145d37cb095e24b5efd6f2a6d4824014814efa11f7a7036486",
            "sha256:3b2d3f58a025adbbf1f9fb539f19c4ee1f11966d10f86b77560a0f26087a33c3",
            "sha256:f14aed24bbff5594219efa42db1a1590588b95473bdcf7917470d2942bff84a8",
            "sha256:f345f9f9074f6ab9f483ba0da00d34458c9c400bbe7b694c02fc6be11f5eb162"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-30T10:48:42.687405363+08:00"
    }
}

更多版本

docker.io/gradle:8.8-jdk21

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

docker.io/gradle:8.5-jdk21

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

docker.io/gradle:7.2.0-jdk17

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

docker.io/gradle:8.10.2-jdk21

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