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

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

Gradle

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

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

源镜像 docker.io/gradle:8.10.2-jdk21
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.10.2-jdk21
镜像ID sha256:69a7c51c95966f05b7b712662b77e2e23fc9a2ca9ac29c1bdf612c59f7a1c2d1
镜像TAG 8.10.2-jdk21
大小 749.75MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD gradle
启动入口 /__cacert_entrypoint.sh
工作目录 /home/gradle
OS/平台 linux/amd64
浏览量 19 次
贡献者
镜像创建 2024-10-16T03:51:19Z
同步时间 2024-11-06 15:33
更新时间 2024-11-12 19:13
环境变量
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.5+11 GRADLE_HOME=/opt/gradle GRADLE_VERSION=8.10.2
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-06 15:33

低危漏洞:79 中危漏洞:9 高危漏洞:0 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-16 11:51:19 USER root
192.70KB 2024-10-16 11:51:19 RUN |1 GRADLE_DOWNLOAD_SHA256=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26 /bin/sh -c set -o errexit -o nounset && echo "Testing Gradle installation" && gradle --version # buildkit
0.00B 2024-10-16 11:51:19 USER gradle
151.73MB 2024-10-16 11:51:19 RUN |1 GRADLE_DOWNLOAD_SHA256=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26 /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 # buildkit
0.00B 2024-10-16 11:51:19 ARG GRADLE_DOWNLOAD_SHA256=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
0.00B 2024-10-16 11:51:19 ENV GRADLE_VERSION=8.10.2
156.31MB 2024-10-16 11:51:19 RUN /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 # buildkit
0.00B 2024-10-16 11:51:19 WORKDIR /home/gradle
0.00B 2024-10-16 11:51:19 VOLUME [/home/gradle/.gradle]
333.72KB 2024-10-16 11:51:19 RUN /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 # buildkit
0.00B 2024-10-16 11:51:19 ENV GRADLE_HOME=/opt/gradle
0.00B 2024-10-16 11:51:19 CMD ["gradle"]
0.00B 2024-10-16 11:51:19 CMD ["jshell"]
0.00B 2024-10-16 11:51:19 ENTRYPOINT ["/__cacert_entrypoint.sh"]
5.31KB 2024-10-16 11:51:19 COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
0.00B 2024-10-16 11:51:19 RUN /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." # buildkit
306.52MB 2024-10-16 11:51:19 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='3c654d98404c073b8a7e66bffb27f4ae3e7ede47d13284c132d40a83144bfd8c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_11.tar.gz'; ;; arm64) ESUM='6482639ed9fd22aa2e704cc366848b1b3e1586d2bf1213869c43e80bca58fe5c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.5_11.tar.gz'; ;; ppc64el) ESUM='3c6f4c358facfb6c19d90faf02bfe0fc7512d6b0e80ac18146bbd7e0d01deeef'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.5_11.tar.gz'; ;; s390x) ESUM='51a7ca42cc2e8cb5f3e7a326c28912ee84ff0791a1ca66650a8c53af07510a7c'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -r "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; 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; # buildkit
0.00B 2024-10-16 11:51:19 ENV JAVA_VERSION=jdk-21.0.5+11
56.79MB 2024-10-16 11:51:19 RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg 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/* # buildkit
0.00B 2024-10-16 11:51:19 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-10-16 11:51:19 ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-10-16 11:51:19 ENV JAVA_HOME=/opt/java/openjdk
0.00B 2024-09-12 00:25:18 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-09-12 00:25:17 /bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:69a7c51c95966f05b7b712662b77e2e23fc9a2ca9ac29c1bdf612c59f7a1c2d1",
    "RepoTags": [
        "gradle:8.10.2-jdk21",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.10.2-jdk21"
    ],
    "RepoDigests": [
        "gradle@sha256:963d59f7f22767da4efbcf46b661361b61af5fb88b0309da1071c4234c647eba",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle@sha256:293c9bb8169b3cc02b68ac8441bc6de483925a6a93929fdb658e758371f9ab61"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-16T03:51:19Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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.5+11",
            "GRADLE_HOME=/opt/gradle",
            "GRADLE_VERSION=8.10.2"
        ],
        "Cmd": [
            "gradle"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "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": 749750490,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f57daded399595f2828ce3418e3969802bfd7bee47d43c236e492e8ad92d60e3/diff:/var/lib/docker/overlay2/e258ea397f1273bcfa7b6e1482b15cc74273c3c60cb81fd6969c3b12a1b2b00e/diff:/var/lib/docker/overlay2/15c88742f629c6314b12fa5ba1513d2886603c06d6bf43b9d847399bc1869cb6/diff:/var/lib/docker/overlay2/4fdec910d07c468d49486db7a450a5ab033bc70f59c0cb82acfc84df70237d69/diff:/var/lib/docker/overlay2/bd6b9defa4a1c32527b86b486e628fdad4146fb03086c5dc2f64081a4be8bc0e/diff:/var/lib/docker/overlay2/754f70274dbe4024bb827b695a8eaa1a7d401345bacb217df07e76638e528925/diff:/var/lib/docker/overlay2/0a9007c8dbd1c5c0c9251703b5cfed66c1c75b4601e895b9227f184db70c0a6a/diff:/var/lib/docker/overlay2/9f20802719ff10ae2b81418005f0f13efcc4715937ca6e232a2ae1099797601e/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/ddedd10b4258725737e7689bb4d74e9c7018c0fb6f95e66e2645ecabde5362f9/merged",
            "UpperDir": "/var/lib/docker/overlay2/ddedd10b4258725737e7689bb4d74e9c7018c0fb6f95e66e2645ecabde5362f9/diff",
            "WorkDir": "/var/lib/docker/overlay2/ddedd10b4258725737e7689bb4d74e9c7018c0fb6f95e66e2645ecabde5362f9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:641fc42a7a383facde08a3ad07f01eb06bc9db404735078cc75f1f430fe60c47",
            "sha256:a32ada6cf479e8b25bc7d47af8aa2fd564f2ddec91eb159a55b53a9dbaa9a7fe",
            "sha256:50823ab0acf5ee804b7118b6e672f168df4af6fe4b0472b9789812f195f0c549",
            "sha256:2cf9642226b8f25a6908d093138ca8a45cb3c467a9af9063bd94343d64772197",
            "sha256:e21241d38625adf0861a2e76eb19ac24a425fe57eaaab6972a73aacb88cf2e7a",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:ee6702dd9b6723e52851d5bb5817a69a5e297974b83c319c08eccfeca75e1099",
            "sha256:31a4dcef87a3369fd3df235010645da595127a2afda72836e2056b93f7f5a01a",
            "sha256:feffeaf5a86b1d2eb22e33269cd375a3f1234350eea142f6272fa40391338bfa"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-06T15:32:17.035575609+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
18