2022-04-20 18:37:45 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:dbba69284b2786013fe94fefe0c2e66a7d3cecbb20f6d691d71dac891ee37be5 - 26.62% (52.4 MB)
[#001] sha256:518e9c95b7a9be8395e268f94fb9d6b7406ae1091a0da7147462c2569403881e - 0.0% (638 Bytes)
[#002] sha256:a95f8d94c7959df75a7c9ed3ef3ba42214286e715e15c78cddb707d63562286b - 0.0% (3.53 KB)
[#003] sha256:5bdbc8307ec4adfbe24eba60dea3caabf763a6d9f23242e877b0d822c9a27241 - 23.14% (45.5 MB)
[#004] sha256:a53afe3e35190f96273f8a3dd2700c0bba6659e1a089ccedddf09053e9fcafa5 - 50.23% (98.9 MB)
[#005] sha256:ff6462e5b69589cddd9688f20d3b78c7172530e558a8e48fc0a2d74de46768f5 - 0.0% (168 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:1777dca895fd6e873e92cacd625bb572750d0c68b8d0f2515f2215cb516a4517 - 0.0% (2.22 KB)
[#008] sha256:8b19489d2afdbfbad2559114a30d56a4ca6a931e2bbf7e3e5eff35e9212cba00 - 0.0% (185 Bytes)
/bin/sh -c #(nop) ADD file:e8d512b08fe2ddc6f2c85831c73e4c72b9c850fa428913d19da4bb1a34f84cf2 in /
2022-03-29 00:22:08 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-04-20 15:19:09 UTC (buildkit.dockerfile.v0)ARG VERSION=4.13
2022-04-20 15:19:09 UTC (buildkit.dockerfile.v0)ARG user=jenkins
2022-04-20 15:19:09 UTC (buildkit.dockerfile.v0)ARG group=jenkins
2022-04-20 15:19:09 UTC (buildkit.dockerfile.v0)ARG uid=1000
2022-04-20 15:19:09 UTC (buildkit.dockerfile.v0)ARG gid=1000
2022-04-20 15:19:09 UTC (buildkit.dockerfile.v0)RUN |5 VERSION=4.13 user=jenkins group=jenkins uid=1000 gid=1000 /bin/sh -c groupadd -g ${gid} ${group} # buildkit
2022-04-20 15:19:10 UTC (buildkit.dockerfile.v0)RUN |5 VERSION=4.13 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-04-20 15:19:10 UTC (buildkit.dockerfile.v0)LABEL Description=This is a base image, which provides the Jenkins agent executable (agent.jar) Vendor=Jenkins project Version=4.13
2022-04-20 15:19:10 UTC (buildkit.dockerfile.v0)ARG AGENT_WORKDIR=/home/jenkins/agent
2022-04-20 15:19:48 UTC (buildkit.dockerfile.v0)RUN |6 VERSION=4.13 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-04-20 15:19:48 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2022-04-20 15:19:48 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2022-04-20 15:19:48 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-20 15:19:49 UTC (buildkit.dockerfile.v0)COPY /opt/java/openjdk /opt/java/openjdk # buildkit
2022-04-20 15:19:49 UTC (buildkit.dockerfile.v0)USER jenkins
2022-04-20 15:19:49 UTC (buildkit.dockerfile.v0)ENV AGENT_WORKDIR=/home/jenkins/agent
2022-04-20 15:19:49 UTC (buildkit.dockerfile.v0)RUN |6 VERSION=4.13 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-04-20 15:19:49 UTC (buildkit.dockerfile.v0)VOLUME [/home/jenkins/.jenkins]
2022-04-20 15:19:49 UTC (buildkit.dockerfile.v0)VOLUME [/home/jenkins/agent]
2022-04-20 15:19:49 UTC (buildkit.dockerfile.v0)WORKDIR /home/jenkins
2022-04-20 15:19:49 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.13 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2022-04-20 18:37:45 UTC (buildkit.dockerfile.v0)ARG version
2022-04-20 18:37:45 UTC (buildkit.dockerfile.v0)LABEL Description=This is a base image, which allows connecting Jenkins agents via JNLP protocols Vendor=Jenkins project Version=4.13-2-jdk8
2022-04-20 18:37:45 UTC (buildkit.dockerfile.v0)ARG user=jenkins
2022-04-20 18:37:45 UTC (buildkit.dockerfile.v0)USER root
2022-04-20 18:37:45 UTC (buildkit.dockerfile.v0)COPY ../../jenkins-agent /usr/local/bin/jenkins-agent # buildkit
2022-04-20 18:37:45 UTC (buildkit.dockerfile.v0)RUN |2 version=4.13-2-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-04-20 18:37:45 UTC (buildkit.dockerfile.v0)USER jenkins
2022-04-20 18:37:45 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.