2022-02-19 17:19:37 UTC
197 MB
/home/jenkins/agent
JAVA_HOME/opt/java/openjdk
LANGC.UTF-8
PATH/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:647acf3d48c2780e00cd27bb0984367415f270d78477ef9d5b238e6ebd5290da - 26.63% (52.4 MB)
[#001] sha256:24ff6eab13e3f676f1f3372e9cf81972ef0585dc20711974ce1fbb6cdfa56398 - 0.0% (637 Bytes)
[#002] sha256:128b2d37cdaa41d159d91fe7264b30d076311e93454524d774fef9d40a0e773b - 0.0% (3.54 KB)
[#003] sha256:6e4d328062889f798fe8a13b27cdfdeaa7da806d0ac3370dfab464bd56ce46fe - 23.15% (45.5 MB)
[#004] sha256:0ca1d31f9d94140eb1b6ff304085e69ebca2f012b2ba1ca0b01b67158fc326b9 - 50.22% (98.8 MB)
[#005] sha256:bebb4bd4b3868627ac8a02f1ae9ad94fb5523cb09904193f3c069facbfbdf778 - 0.0% (167 Bytes)
[#006] sha256:127be1093a84e8706696e5d60b4cc3a6b42e63464df02483e189ed69b90eedcc - 0.0% (2.15 KB)
[#007] sha256:46ff620af4c8bc07b0c03d9eaba9b259aa4fcdaf78fb88efaa557e79a51cd23d - 0.0% (185 Bytes)
/bin/sh -c #(nop) ADD file:5259fc086e8295ddbf02e48abef38e9bf93a183079d3631aa7a59306b7f2f9df in /
2021-11-17 02:20:31 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-01-21 18:16:41 UTC (buildkit.dockerfile.v0)ARG VERSION=4.11.2
2022-01-21 18:16:41 UTC (buildkit.dockerfile.v0)ARG user=jenkins
2022-01-21 18:16:41 UTC (buildkit.dockerfile.v0)ARG group=jenkins
2022-01-21 18:16:41 UTC (buildkit.dockerfile.v0)ARG uid=1000
2022-01-21 18:16:41 UTC (buildkit.dockerfile.v0)ARG gid=1000
2022-01-21 18:16:41 UTC (buildkit.dockerfile.v0)RUN |5 VERSION=4.11.2 user=jenkins group=jenkins uid=1000 gid=1000 /bin/sh -c groupadd -g ${gid} ${group} # buildkit
2022-01-21 18:16:42 UTC (buildkit.dockerfile.v0)RUN |5 VERSION=4.11.2 user=jenkins group=jenkins uid=1000 gid=1000 /bin/sh -c useradd -c "Jenkins user" -d /home/${user} -u ${uid} -g ${gid} -m ${user} # buildkit
2022-01-21 18:16:42 UTC (buildkit.dockerfile.v0)LABEL Description=This is a base image, which provides the Jenkins agent executable (agent.jar) Vendor=Jenkins project Version=4.11.2
2022-01-21 18:16:42 UTC (buildkit.dockerfile.v0)ARG AGENT_WORKDIR=/home/jenkins/agent
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)RUN |6 VERSION=4.11.2 user=jenkins group=jenkins uid=1000 gid=1000 AGENT_WORKDIR=/home/jenkins/agent /bin/sh -c apt-get update && apt-get -y install git-lfs curl fontconfig && curl --create-dirs -fsSLo /usr/share/jenkins/agent.jar https://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/${VERSION}/remoting-${VERSION}.jar && chmod 755 /usr/share/jenkins && chmod 644 /usr/share/jenkins/agent.jar && ln -sf /usr/share/jenkins/agent.jar /usr/share/jenkins/slave.jar && apt-get remove -y curl && rm -rf /var/lib/apt/lists/* # buildkit
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)COPY /opt/java/openjdk /opt/java/openjdk # buildkit
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)USER jenkins
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)ENV AGENT_WORKDIR=/home/jenkins/agent
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)RUN |6 VERSION=4.11.2 user=jenkins group=jenkins uid=1000 gid=1000 AGENT_WORKDIR=/home/jenkins/agent /bin/sh -c mkdir /home/${user}/.jenkins && mkdir -p ${AGENT_WORKDIR} # buildkit
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)VOLUME [/home/jenkins/.jenkins]
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)VOLUME [/home/jenkins/agent]
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)WORKDIR /home/jenkins
2022-01-21 18:17:19 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.vendor=Jenkins project org.opencontainers.image.title=Official Jenkins Agent Base Docker image org.opencontainers.image.description=This is a base image, which provides the Jenkins agent executable (agent.jar) org.opencontainers.image.version=4.11.2 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2022-02-19 17:19:36 UTC (buildkit.dockerfile.v0)ARG version
2022-02-19 17:19:36 UTC (buildkit.dockerfile.v0)LABEL Description=This is a base image, which allows connecting Jenkins agents via JNLP protocols Vendor=Jenkins project Version=4.11.2-1-jdk8
2022-02-19 17:19:36 UTC (buildkit.dockerfile.v0)ARG user=jenkins
2022-02-19 17:19:36 UTC (buildkit.dockerfile.v0)USER root
2022-02-19 17:19:36 UTC (buildkit.dockerfile.v0)COPY ../../jenkins-agent /usr/local/bin/jenkins-agent # buildkit
2022-02-19 17:19:37 UTC (buildkit.dockerfile.v0)RUN |2 version=4.11.2-1-jdk8 user=jenkins /bin/sh -c chmod +x /usr/local/bin/jenkins-agent && ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave # buildkit
2022-02-19 17:19:37 UTC (buildkit.dockerfile.v0)USER jenkins
2022-02-19 17:19:37 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/local/bin/jenkins-agent"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.