2023-01-16 19:46:31 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:32de3c850997ce03b6ff4ae8fb00b34b9d7d7f9a35bfcdb8538e22cc7b77c29d - 26.67% (52.5 MB)
[#001] sha256:a1ad60a3b1c881976aadf0b5a397512e44ddf70af1b68937ce276775453edd52 - 0.0% (641 Bytes)
[#002] sha256:12bc1576c9a17c9e9b34ea0bbe87c460edd7e013ce231b54f65d0e3e84b531a4 - 0.0% (3.52 KB)
[#003] sha256:b2f3cc500f49fdde3c01fd299ba9824f39d84afb69d1a79c36160e0b00801c75 - 23.14% (45.5 MB)
[#004] sha256:0757c8bc9fa7e1d1d551467b6fd943f36054da583bfb5fecc57e16471ed419bb - 50.19% (98.8 MB)
[#005] sha256:40d763142cb452119e16ea03325578240167d5d44ad0b1e8710f33f1e0f1aff7 - 0.0% (169 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:db5154eaa6cf90515d0ef366abefec10a892e4898e5e7d4d4bfe8b6541ed92d5 - 0.0% (2.16 KB)
[#008] sha256:9e13206f90688083e4096327cc3c011a927308e94b472aa94e933c06fb2dd3ff - 0.0% (186 Bytes)
/bin/sh -c #(nop) ADD file:c13b430c8699df107ffd9ea5230b92238bc037a8e1cbbe35d6ab664941d575da in /
2022-12-21 01:20:22 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)ARG VERSION=4.10
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)ARG user=jenkins
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)ARG group=jenkins
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)ARG uid=1000
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)ARG gid=1000
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)RUN |5 VERSION=4.10 user=jenkins group=jenkins uid=1000 gid=1000 /bin/sh -c groupadd -g ${gid} ${group} # buildkit
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)RUN |5 VERSION=4.10 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
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)LABEL Description=This is a base image, which provides the Jenkins agent executable (agent.jar) Vendor=Jenkins project Version=4.10
2023-01-07 02:16:19 UTC (buildkit.dockerfile.v0)ARG AGENT_WORKDIR=/home/jenkins/agent
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)RUN |6 VERSION=4.10 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
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)COPY /opt/java/openjdk /opt/java/openjdk # buildkit
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)USER jenkins
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)ENV AGENT_WORKDIR=/home/jenkins/agent
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)RUN |6 VERSION=4.10 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
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)VOLUME [/home/jenkins/.jenkins]
2023-01-07 02:16:55 UTC (buildkit.dockerfile.v0)VOLUME [/home/jenkins/agent]
2023-01-07 02:16:56 UTC (buildkit.dockerfile.v0)WORKDIR /home/jenkins
2023-01-07 02:16:56 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.10 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)ARG version
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)LABEL Description=This is a base image, which allows connecting Jenkins agents via JNLP protocols Vendor=Jenkins project Version=4.10-6-jdk8
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)ARG user=jenkins
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)USER root
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)COPY ../../jenkins-agent /usr/local/bin/jenkins-agent # buildkit
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)RUN |2 version=4.10-6-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
2023-01-16 19:46:31 UTC (buildkit.dockerfile.v0)USER jenkins
2023-01-16 19:46:31 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.