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

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

Gradle

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

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

源镜像 docker.io/gradle:7.2.0-jdk8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk8
镜像ID sha256:fd0375175828ca9ad81bc8d3a8d03cff75cfdb36bc8065667a10a3140e4095e0
镜像TAG 7.2.0-jdk8
大小 639.90MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD gradle
启动入口
工作目录 /home/gradle
OS/平台 linux/amd64
浏览量 12 次
贡献者
镜像创建 2021-11-05T19:42:32.073261841Z
同步时间 2025-01-17 09:22
更新时间 2025-01-18 09:36
环境变量
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=jdk8u312-b07 JAVA_HOME=/opt/java/openjdk GRADLE_HOME=/opt/gradle GRADLE_VERSION=7.2

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#gradle:7.2.0-jdk8#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk8#' 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-jdk8 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk8  docker.io/gradle:7.2.0-jdk8'

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-11-06 03:42:32  127.23MB 
|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
                        
# 2021-11-06 03:42:27  0.00B 
/bin/sh -c #(nop)  ARG GRADLE_DOWNLOAD_SHA256=f581709a9c35e9cb92e16f585d2c4bc99b2b1a5f85d2badbd3dc6bff59e1e6dd
                        
# 2021-11-06 03:42:27  0.00B 
/bin/sh -c #(nop)  ENV GRADLE_VERSION=7.2
                        
# 2021-11-06 03:42:26  192.05MB 
/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
                        
# 2021-11-06 03:41:35  0.00B 
/bin/sh -c #(nop) WORKDIR /home/gradle
                        
# 2021-11-06 03:41:35  0.00B 
/bin/sh -c #(nop)  VOLUME [/home/gradle/.gradle]
                        
# 2021-11-06 03:41:34  333.73KB 
/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
                        
# 2021-11-06 03:41:34  0.00B 
/bin/sh -c #(nop)  ENV GRADLE_HOME=/opt/gradle
                        
# 2021-11-06 03:41:33  0.00B 
/bin/sh -c #(nop)  CMD ["gradle"]
                        
# 2021-11-06 03:19:38  0.00B 
/bin/sh -c echo Verifying install ...     && echo javac -version && javac -version     && echo java -version && java -version     && echo Complete.
                        
# 2021-11-06 03:19:37  0.00B 
/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
                        
# 2021-11-06 03:19:36  204.31MB 
/bin/sh -c set -eux;     ARCH="$(dpkg --print-architecture)";     case "${ARCH}" in        aarch64|arm64)          ESUM='87ff502eba3008cac71edeb9595398a73dc14883fe3072d152e731bf0877897e';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_aarch64_linux_hotspot_8u312b07.tar.gz';          ;;        armhf|arm)          ESUM='5a9e72c6c20373aa380554a6d7191a258540d2a0399d842223b8d5eb0f74b298';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_arm_linux_hotspot_8u312b07.tar.gz';          apt-get update          && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1          && rm -rf /var/lib/apt/lists/*          ;;        ppc64el|powerpc:common64)          ESUM='ddce3f067eab6fd98bb2a8ea3d18de6b09ea41d10382c76ad22bd3e7895951cf';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_ppc64le_linux_hotspot_8u312b07.tar.gz';          ;;        amd64|i386:x86-64)          ESUM='699981083983b60a7eeb511ad640fae3ae4b879de5a3980fe837e8ade9c34a08';          BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.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;
                        
# 2021-11-06 03:19:30  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=jdk8u312-b07
                        
# 2021-10-16 10:44:32  43.21MB 
/bin/sh -c apt-get update     && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales     && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen     && locale-gen en_US.UTF-8     && rm -rf /var/lib/apt/lists/*
                        
# 2021-10-16 10:44:06  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
                        
# 2021-10-16 08:37:47  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-10-16 08:37:47  72.78MB 
/bin/sh -c #(nop) ADD file:5d68d27cc15a80653c93d3a0b262a28112d47a46326ff5fc2dfbf7fa3b9a0ce8 in / 
                        
                    

镜像信息

{
    "Id": "sha256:fd0375175828ca9ad81bc8d3a8d03cff75cfdb36bc8065667a10a3140e4095e0",
    "RepoTags": [
        "gradle:7.2.0-jdk8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle:7.2.0-jdk8"
    ],
    "RepoDigests": [
        "gradle@sha256:51a695072259173d04e0d6cb590d2590b1c58834c436b6b66e3a6269cdaf1aa4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gradle@sha256:38ba2e310ace9452e48899ff5c81af20042e33717e01b0dbd900c01b3e15376d"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-11-05T19:42:32.073261841Z",
    "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=jdk8u312-b07",
            "JAVA_HOME=/opt/java/openjdk",
            "GRADLE_HOME=/opt/gradle",
            "GRADLE_VERSION=7.2"
        ],
        "Cmd": [
            "gradle"
        ],
        "Image": "sha256:237a606245ee54c525020401c5e85c65747b27762a9f630e59bec40be1c41edf",
        "Volumes": {
            "/home/gradle/.gradle": {}
        },
        "WorkingDir": "/home/gradle",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 639903726,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3cc3d480cedb41f42fc8a74b06d14d5ee83661732551747ba1ce4910fc87a4a8/diff:/var/lib/docker/overlay2/70558dec9b217dbc5ab8d600431e5591d3e0fc17716f390b809c240f704cae74/diff:/var/lib/docker/overlay2/5e5c5669b6234a9f24beef32d466931f2725140497eb20d35ccfa65222303e31/diff:/var/lib/docker/overlay2/be9983dd98b4cea453eab4088fc2dadf518bf4e18250e4a7ce768a4ac3d64757/diff:/var/lib/docker/overlay2/86e56c918e18c9ff6fdb70c712f83b3bff97e3150eb5bc353f2c6891cdc9c6e3/diff:/var/lib/docker/overlay2/3d79851963302e44bbb78cbca66cc38ba1365e2ce48dba8b7673463c6b48e4d4/diff",
            "MergedDir": "/var/lib/docker/overlay2/4fc35faf678338e2cc2ae16abbd5c549e58fd37bde8188d0d927bfff32a521db/merged",
            "UpperDir": "/var/lib/docker/overlay2/4fc35faf678338e2cc2ae16abbd5c549e58fd37bde8188d0d927bfff32a521db/diff",
            "WorkDir": "/var/lib/docker/overlay2/4fc35faf678338e2cc2ae16abbd5c549e58fd37bde8188d0d927bfff32a521db/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9f54eef412758095c8079ac465d494a2872e02e90bf1fb5f12a1641c0d1bb78b",
            "sha256:e72da1fc3ecfdb1971f2946630367242cc805d816886249a8efd307e4b6cb9a0",
            "sha256:ff88e68cd39faa67fe6d50331842af7828e58160fd5295d5af1064ad012a6fe7",
            "sha256:499e27d63fd5bab2682127b6d95fedad45ea6eeb4ce5bfe39aecad1b3990582a",
            "sha256:cabd91546e2dbd2523a13bbf227e587fa34fcefd5097af4cf76b1dba7cbfeec1",
            "sha256:85c2ea5ff9d72d1aec458bedbd0594cd352bd67516d8fbceca371c91c8377adc",
            "sha256:687905d46b23eef0cbf0e83783d9649aa7b5daa90d88c95f15dacaf3ff1f78ec"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-17T09:21:32.957605263+08:00"
    }
}

更多版本

docker.io/gradle:8.8-jdk21

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

docker.io/gradle:8.5-jdk21

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

docker.io/gradle:7.2.0-jdk17

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

docker.io/gradle:8.10.2-jdk21

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

docker.io/gradle:8.12-jdk21

linux/amd64 docker.io749.23MB2024-12-26 18:32
42

docker.io/gradle:7.2.0-jdk8

linux/amd64 docker.io639.90MB2025-01-17 09:22
11