docker.io/jenkins/jnlp-agent-maven:jdk11 linux/amd64

docker.io/jenkins/jnlp-agent-maven:jdk11 - 国内下载镜像源 浏览次数:182 安全受验证的发布者-Jenkins
🚀

该镜像为 Jenkins NLP Agent 的 Maven 版本,它是一个轻量级的 Java 进程,用来在外部环境中运行 Maven 命令。Jenkins NLP Agent 可以与 Jenkins 服务器进行通信,并将任务结果发送回服务器,可以用于 CI/CD 和自动化构建等场景。

源镜像 docker.io/jenkins/jnlp-agent-maven:jdk11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11
镜像ID sha256:a2627f6049788b1e82895d5e89f9432a4d739b59286419f813342430adb6e052
镜像TAG jdk11
大小 529.00MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/local/bin/jenkins-agent
工作目录
OS/平台 linux/amd64
浏览量 182 次
贡献者
镜像创建 2021-01-20T16:35:43.528734267Z
同步时间 2024-06-27 10:19
更新时间 2024-11-21 12:34
环境变量
PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/local/openjdk-11 JAVA_VERSION=11.0.9.1 MAVEN_HOME=/usr/share/maven MAVEN_CONFIG=/root/.m2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11  docker.io/jenkins/jnlp-agent-maven:jdk11

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11  docker.io/jenkins/jnlp-agent-maven:jdk11

Shell快速替换命令

sed -i 's#jenkins/jnlp-agent-maven:jdk11#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11  docker.io/jenkins/jnlp-agent-maven:jdk11'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11  docker.io/jenkins/jnlp-agent-maven:jdk11'

镜像历史

大小 创建时间 层信息
0.00B 2021-01-21 00:35:43 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/jenkins-agent"]
1.51MB 2021-01-21 00:35:42 /bin/sh -c #(nop) COPY file:886c330ace45d398168a5eb0c20002e313a8cb0a0bdc4626ffd57db1011944ef in /usr/share/jenkins/agent.jar
4.51KB 2021-01-21 00:35:41 /bin/sh -c #(nop) COPY file:581f0b7404c2f4af5245cf247047c9d8bdd39fd98be1c729a4f8ffb4e6340e46 in /usr/local/bin/jenkins-agent
106.65MB 2021-01-21 00:35:27 /bin/sh -c apt-get update && apt-get install -y git libfontconfig1 libfreetype6
0.00B 2021-01-13 15:04:23 /bin/sh -c #(nop) CMD ["mvn"]
0.00B 2021-01-13 15:04:22 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
327.00B 2021-01-13 15:04:22 /bin/sh -c #(nop) COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/
1.65KB 2021-01-13 15:04:22 /bin/sh -c #(nop) COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh
0.00B 2021-01-13 15:04:22 /bin/sh -c #(nop) ENV MAVEN_CONFIG=/root/.m2
0.00B 2021-01-13 15:04:22 /bin/sh -c #(nop) ENV MAVEN_HOME=/usr/share/maven
11.25MB 2021-01-13 15:04:21 |4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries MAVEN_VERSION=3.6.3 SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 USER_HOME_DIR=/root /bin/sh -c mkdir -p /usr/share/maven /usr/share/maven/ref && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz && echo "${SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 && rm -f /tmp/apache-maven.tar.gz && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
6.75MB 2021-01-13 15:04:13 |4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries MAVEN_VERSION=3.6.3 SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 USER_HOME_DIR=/root /bin/sh -c apt-get update && apt-get install -y curl procps && rm -rf /var/lib/apt/lists/*
0.00B 2021-01-13 15:04:06 /bin/sh -c #(nop) ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.3/binaries
0.00B 2021-01-13 15:04:06 /bin/sh -c #(nop) ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0
0.00B 2021-01-13 15:04:06 /bin/sh -c #(nop) ARG USER_HOME_DIR=/root
0.00B 2021-01-13 15:04:06 /bin/sh -c #(nop) ARG MAVEN_VERSION=3.6.3
0.00B 2021-01-12 18:58:41 /bin/sh -c #(nop) CMD ["jshell"]
324.80MB 2021-01-12 18:58:41 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in arm64 | aarch64) downloadUrl=https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_aarch64_linux_11.0.9.1_1.tar.gz ;; amd64 | i386:x86-64) downloadUrl=https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_x64_linux_11.0.9.1_1.tar.gz ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dirmngr gnupg wget ; rm -rf /var/lib/apt/lists/*; wget -O openjdk.tgz.asc "$downloadUrl.sign"; wget -O openjdk.tgz "$downloadUrl" --progress=dot:giga; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'if ! [ -d "$JAVA_HOME" ]; then echo >&2 "error: missing JAVA_HOME environment variable"; exit 1; fi'; echo 'cacertsFile=; for f in "$JAVA_HOME/lib/security/cacerts" "$JAVA_HOME/jre/lib/security/cacerts"; do if [ -e "$f" ]; then cacertsFile="$f"; break; fi; done'; echo 'if [ -z "$cacertsFile" ] || ! [ -f "$cacertsFile" ]; then echo >&2 "error: failed to find cacerts file in $JAVA_HOME"; exit 1; fi'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$cacertsFile"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
0.00B 2021-01-12 18:58:18 /bin/sh -c #(nop) ENV JAVA_VERSION=11.0.9.1
27.00B 2021-01-12 18:58:18 /bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ]
0.00B 2021-01-12 18:58:17 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2021-01-12 18:58:17 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-11
0.00B 2021-01-12 18:53:01 /bin/sh -c #(nop) ENV LANG=C.UTF-8
8.78MB 2021-01-12 18:53:01 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
0.00B 2021-01-12 08:32:51 /bin/sh -c #(nop) CMD ["bash"]
69.24MB 2021-01-12 08:32:51 /bin/sh -c #(nop) ADD file:422aca8901ae3d869a815051cea7f1e4c0204fad16884e7cd01da57d142f2e3a in /

镜像信息

{
    "Id": "sha256:a2627f6049788b1e82895d5e89f9432a4d739b59286419f813342430adb6e052",
    "RepoTags": [
        "jenkins/jnlp-agent-maven:jdk11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven:jdk11"
    ],
    "RepoDigests": [
        "jenkins/jnlp-agent-maven@sha256:3dedfb0d89844dbc3af01d8e7dc826b3de2f8b63c34ae2759b49cfc3a1dcd784",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jenkins/jnlp-agent-maven@sha256:3dedfb0d89844dbc3af01d8e7dc826b3de2f8b63c34ae2759b49cfc3a1dcd784"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-01-20T16:35:43.528734267Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.2",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "JAVA_HOME=/usr/local/openjdk-11",
            "JAVA_VERSION=11.0.9.1",
            "MAVEN_HOME=/usr/share/maven",
            "MAVEN_CONFIG=/root/.m2"
        ],
        "Cmd": null,
        "Image": "sha256:d05f5bad7f4e5fbb7551e5a563bd21977accf284a4f7970d06f223970577f22b",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/jenkins-agent"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 528997323,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/data2/docker/overlay2/8373efa96447abc30798b3bc70b5b4f29565b24d6eeb059cb795b506b994285b/diff:/data2/docker/overlay2/0b1cfc11294fa0f22c04ba98f099aa68e64bad6ebad06dbe7f9ff2260b6fe37a/diff:/data2/docker/overlay2/a30165e14e337fd9d937026a706149902359f43dc3fa5b30ed4fb72a910c4abe/diff:/data2/docker/overlay2/60e67463e4f81e3b36d6f350dba6568c8e12bdecd925bca3d04e4e2b6ef2db70/diff:/data2/docker/overlay2/09a20bdfda12806011c2fd54361b55aaa0354cd68e62e40d1000f5c5113758f2/diff:/data2/docker/overlay2/f5b0abb6007c9d3f475d6ddbd6f5223b25a85e421d24c7a9965f5c9e97fc94c6/diff:/data2/docker/overlay2/bd0c9df52ba68999bb5f129ef48e9ecea028b018e86e7ddb873ff680ab271697/diff:/data2/docker/overlay2/3ca043b1a2a5fb2822f666e987d23fb3220abf7d10a85452496dd7927d4406db/diff:/data2/docker/overlay2/879ef5f748341a6ef063e6f5bc48f5183f56ad9cc341adff32159adda8635963/diff:/data2/docker/overlay2/7d9ed8f1b5f57ba0a68c0944b3cca48d68ad72171208a98fd158a934792b0efa/diff",
            "MergedDir": "/data2/docker/overlay2/809ff5ea61e5d3f92f26a64dfe867b57dcd1249f1b6772cdb15aed264a673ea4/merged",
            "UpperDir": "/data2/docker/overlay2/809ff5ea61e5d3f92f26a64dfe867b57dcd1249f1b6772cdb15aed264a673ea4/diff",
            "WorkDir": "/data2/docker/overlay2/809ff5ea61e5d3f92f26a64dfe867b57dcd1249f1b6772cdb15aed264a673ea4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:cb42413394c4059335228c137fe884ff3ab8946a014014309676c25e3ac86864",
            "sha256:1c44f9d6c0083b8b07c9b71cef3a6e186edc11dc5a8129b3aeeb9dfacec0a02d",
            "sha256:c9c81fb767ccaa0d956ee9cbd6d3754edc53861722501be3998f16b7893e9ada",
            "sha256:8d570966984f263246a69ee5d4e7450ac39f001e56f1d9d230cf657a905890a6",
            "sha256:a1653d41ef900a7d3b48f91a7dc4e1f723afcf9a2d82e5f22d03c308df474d06",
            "sha256:4740643e65a372e9804d2ffe83c92f5d605c2119f1b4ec663ff468656f754347",
            "sha256:2063e7bc9751aab3dfd9d69670c134b1f618e12544cddfcc43a3caa23e6e67e2",
            "sha256:d28828b53ef9ab19c13eb700741389d306702bb92160daf596a83993479d2325",
            "sha256:51148b8b091d9a7ce9f32fe4ad3bacbbd4adba8ea8c7f49d54d98a334931cc98",
            "sha256:f40a7a60b6b8d85a7085ccbc2ea2671629a3d5966ff56ca2d04b3b7bbcffc416",
            "sha256:b85674f5c8e729e186e7118c010285f4a5cf8f3040f72375e31634491460c880"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-06-27T10:18:33.536041823+08:00"
    }
}

更多版本

docker.io/jenkins/jnlp-agent-maven:jdk11

linux/amd64 docker.io529.00MB2024-06-27 10:19
181