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

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

Gradle

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

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

源镜像 docker.io/gradle:8.8-jdk21
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.8-jdk21
镜像ID sha256:f45352a2a3b663ee90637829b4c316d21639f6ab5f9650ff6e1e7db806cca8f0
镜像TAG 8.8-jdk21
大小 747.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD gradle
启动入口 /__cacert_entrypoint.sh
工作目录 /home/gradle
OS/平台 linux/amd64
浏览量 165 次
贡献者
镜像创建 2024-06-16T03:23:28Z
同步时间 2024-08-30 10:47
更新时间 2024-11-24 19:43
环境变量
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.3+9 GRADLE_HOME=/opt/gradle GRADLE_VERSION=8.8
镜像标签
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.8-jdk21
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.8-jdk21  docker.io/gradle:8.8-jdk21

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-06-16 11:23:28 USER root
192.70KB 2024-06-16 11:23:28 RUN |1 GRADLE_DOWNLOAD_SHA256=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612 /bin/sh -c set -o errexit -o nounset && echo "Testing Gradle installation" && gradle --version # buildkit
0.00B 2024-06-16 11:23:28 USER gradle
152.90MB 2024-06-16 11:23:28 RUN |1 GRADLE_DOWNLOAD_SHA256=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612 /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-06-16 11:23:28 ARG GRADLE_DOWNLOAD_SHA256=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612
0.00B 2024-06-16 11:23:28 ENV GRADLE_VERSION=8.8
158.10MB 2024-06-16 11:23:28 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-06-16 11:23:28 WORKDIR /home/gradle
0.00B 2024-06-16 11:23:28 VOLUME [/home/gradle/.gradle]
333.72KB 2024-06-16 11:23:28 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-06-16 11:23:28 ENV GRADLE_HOME=/opt/gradle
0.00B 2024-06-16 11:23:28 CMD ["gradle"]
0.00B 2024-04-24 04:51:38 CMD ["jshell"]
0.00B 2024-04-24 04:51:38 ENTRYPOINT ["/__cacert_entrypoint.sh"]
1.18KB 2024-04-24 04:51:38 COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit
0.00B 2024-04-24 04:51:38 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
307.80MB 2024-04-24 04:51:38 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='7d3ab0e8eba95bd682cfda8041c6cb6fa21e09d0d9131316fd7c96c78969de31'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.3_9.tar.gz'; ;; amd64|i386:x86-64) ESUM='fffa52c22d797b715a962e6c8d11ec7d79b90dd819b5bc51d62137ea4b22a340'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_linux_hotspot_21.0.3_9.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='9a1079d7f0fc72951fdc9a0029e49a15f6ba114683aee626f882ee2c761f1d57'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.3_9.tar.gz'; ;; s390x|s390:64-bit) ESUM='f57a078d417614e5d78c07c77a6d8a04701058cf692c8e2868d593582be92768'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.3_9.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; # buildkit
0.00B 2024-04-24 04:51:38 ENV JAVA_VERSION=jdk-21.0.3+9
49.97MB 2024-04-24 04:51:38 RUN /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/* # buildkit
0.00B 2024-04-24 04:51:38 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-04-24 04:51:38 ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-04-24 04:51:38 ENV JAVA_HOME=/opt/java/openjdk
0.00B 2024-06-16 11:23:28 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-06-16 11:23:28 /bin/sh -c #(nop) ADD file:d5da92199726e42da09a6f75a778befb607fe3f79e4afaf7ef5188329b26b386 in /
0.00B 2024-06-16 11:23:28 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-06-16 11:23:28 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-06-16 11:23:28 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-06-16 11:23:28 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:f45352a2a3b663ee90637829b4c316d21639f6ab5f9650ff6e1e7db806cca8f0",
    "RepoTags": [
        "gradle:8.8-jdk21",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:8.8-jdk21"
    ],
    "RepoDigests": [
        "gradle@sha256:62c8919321bb78566534c4688a3399b86013ef8a4c45147d9099763d93c4376a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle@sha256:1ebc773b544c1da2294e087c7a2e8e3df75dc6448e3b6be57082b3d69bef060e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-16T03:23:28Z",
    "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.3+9",
            "GRADLE_HOME=/opt/gradle",
            "GRADLE_VERSION=8.8"
        ],
        "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": 747163372,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/67040848d5e59e58a97ef4d3ba04d0862817b4863d3b5337a029f225a87e62f3/diff:/var/lib/docker/overlay2/0691140e5becc3e5857c47dff41129ce5bfb4d850d7f28014b9d36598b42f2f6/diff:/var/lib/docker/overlay2/6fa2627e4f9e62d38b1fdc33db57a20c400080711e5bcbbbd285348c15902daf/diff:/var/lib/docker/overlay2/314e81d0ae5ba6722a45c01b2fc23bf03ffb798f163f32ee6db61751a054a43c/diff:/var/lib/docker/overlay2/d8b6afb23ce75766d02e4ba0abb9c5e097f7f30f083695e74bf92bbb0eb57414/diff:/var/lib/docker/overlay2/9ad6590a45a12145aee66e88da025f17ae68c3f5841943dc4da9b66336e61ddf/diff:/var/lib/docker/overlay2/0512abd9fadf5739e3fcba6254601e8090efc22999cc179cb597d3e7e7cb7e0c/diff:/var/lib/docker/overlay2/2d46eac9656d33cf12a62ce0325d2d315baa97891477560875522d1514621071/diff:/var/lib/docker/overlay2/a1b2bc5ac57e0f6deb49c26a21cf2bc419896d00be14b86405d87fd51bed5df3/diff",
            "MergedDir": "/var/lib/docker/overlay2/5fbc693f463c1821e6bb4ad2f11a98ec85c276b30f177c7564af2b64526cd729/merged",
            "UpperDir": "/var/lib/docker/overlay2/5fbc693f463c1821e6bb4ad2f11a98ec85c276b30f177c7564af2b64526cd729/diff",
            "WorkDir": "/var/lib/docker/overlay2/5fbc693f463c1821e6bb4ad2f11a98ec85c276b30f177c7564af2b64526cd729/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:931b7ff0cb6f494b27d31a4cbec3efe62ac54676add9c7469560302f1541ecaf",
            "sha256:6e9a204c72120c12e67e0de15a526756edb51c49418f8b9aa8cbaba72f7b1b1e",
            "sha256:db0d44d046403e2827d44e1d0cd9367c1e4e7605879244e5884a58c9f5f2e970",
            "sha256:7c2fc37591f1791ab06f248e045f07ca0ce56dcfe2dc42d83e9a4a7b9b7b8f63",
            "sha256:8262a88fc1632ded58eecd6ae25dc4ecb437c04ff743e7d71996abd0ffe28767",
            "sha256:173d6364876c677f021852bef6634ff35d11da6c3ff66f03a87ea964f51038cf",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:9415f67b7df9de58451c3e3326ace391a6968d9cb33d5822a51905abfdff3e00",
            "sha256:ebfa79662dad4f4be29c23c82bbb062f1d4c867edbdafd0e5a0d4f2806547094",
            "sha256:31abcda7dd53c59f27025c3dec75d7719bb4dcfe6270bb4b4038c5107e437479"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-30T10:45:28.451745904+08:00"
    }
}

更多版本

docker.io/gradle:8.8-jdk21

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

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