2023-02-06 12:14:51 UTC
1.95 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk-17.0.6+10
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 81.37% (1.59 GB)
[#001] sha256:691d210e0841eeceff800f3b441be6db4bc689728f1bb771ce88f839d06f57d0 - 0.0% (1.4 KB)
[#002] sha256:a15284b7927c9ba6dd25e0a56353605eafcb8cd2de671394d4a8596b8e6d578e - 0.0% (1.38 KB)
[#003] sha256:04c8467812e46355a1ae4d85d27244142b4a0381cc7439ab77e170cc9a1d2b93 - 16.8% (336 MB)
[#004] sha256:3379b2886e9cec92ae0da0346436dbfd684c5a941a9f1bee040de3f6221a40a5 - 0.19% (3.74 MB)
[#005] sha256:d270f11528fe8f50082581bd2a3d326b6f5e06e760054721d6a675833186d8f5 - 0.0% (1.34 KB)
[#006] sha256:be25febb1ee7b89adfd7bd819c00e818315a358fa415fbe56c04eb112e40703e - 0.0% (1.29 KB)
[#007] sha256:d86f43b627614569c0e1321726366e84419f676ea38fb6be8a42b2bfa7225f8a - 0.0% (1.36 KB)
[#008] sha256:b03316901cd645cf6a87106727b8718bb1789b377c36f187fedeb5999888fe75 - 0.0% (1.29 KB)
[#009] sha256:35f0ff7b30d89c6dfee1bfb25755778a6e8aa21f8501cfff6db4d3f896787cdc - 1.28% (25.6 MB)
[#010] sha256:b68c46bc2eea03eef08943132ee4de86748ef0bb7d87e4eb24f99161717ce6da - 0.0% (1.37 KB)
[#011] sha256:42ca77b8f4ee2b2f292ecaa54cfe102d58d8ea8fb77449d56d4b8e95520aac9e - 0.21% (4.27 MB)
[#012] sha256:102c401a37a76f83bcd3685eef07f834db71987202c6f199f0aa234cf179832a - 0.0% (1.31 KB)
[#013] sha256:6b015e7fa5fce707a3fbada6d7e16eb6ce2c0ed5a6bc1fd8c0f1a6bb44c3cf9c - 0.0% (1.31 KB)
[#014] sha256:a1c3180769f9908a557337f07ccf7777cde2fa7288655b281cd3d8bd047a997d - 0.0% (1.29 KB)
[#015] sha256:93db12f4ecbbebfcbc52dbb435e6a135c6236019606eecca8ee3a811cbb726a0 - 0.02% (367 KB)
[#016] sha256:1088feb8852993a8be760561cbe4088c4baa7e6c64e7b6ed4cd587f5acd40b95 - 0.0% (1.29 KB)
[#017] sha256:4edc250fdd8ac0a097becc0df93ded48feb76d1e39f68e1e7eedb77aad8cc2ca - 0.0% (1.36 KB)
[#018] sha256:5b5640d181367709f9ad801930ba999ba68e6fb4f880fadb6b12b5763a32d553 - 0.0% (1.32 KB)
[#019] sha256:9ea3e6ff2fddf0c1e0aed1fe199896e477c6f0c375c2c7a923e1d98c81a8f1da - 0.0% (1.31 KB)
[#020] sha256:f0b2d5dae74f71e1d0fb06b1e0b2abb4637c3635bea3c4afe70800480c966c7c - 0.08% (1.52 MB)
[#021] sha256:68c83eb9dabe5d3a7a6361306e626815234cb0aeeaa223a4a8d9abad403a6809 - 0.0% (1.32 KB)
[#022] sha256:b9c6fb0e6a4967e154aafb75f5f4841fafe0c6e1cce32037755c781f3bfe1e0e - 0.02% (384 KB)
[#023] sha256:21dce2a81c3a50dd5d0f82a89d2fc1656780ef77095242a4f77e583f0b569815 - 0.02% (379 KB)
[#024] sha256:96a10aa5fbf5919bae61e1cc77f1cec0e822ff1f61a8938a626ff6ea629c55c4 - 0.0% (1.33 KB)
[#025] sha256:1083c935a86d9ad660064a9506a93f72bf9db466b23b6adbff48826378009bc8 - 0.0% (1.34 KB)
[#026] sha256:56b4fe9cc3dd6f6d23dd6e48d3180e3b62b52f679a0ebeda2e8f76cf059aca2d - 0.0% (1.33 KB)
[#027] sha256:ab27285e38466a7de5dda91c6f5c1982c5f7b5abc3bd1e73b30c9c9ff9f556ba - 0.0% (1.32 KB)
[#028] sha256:dd83c901c765b05e31dc375e1d1ef8e8b38103ae1da84643d0a18c54b4709e3e - 0.0% (1.33 KB)
[#029] sha256:5fc5378d73ecfc0850f0766ebe13c0f964f4bbb9c9dae5861a2b04c34149efc4 - 0.0% (1.3 KB)
[#030] sha256:925473c3a1c5f73f96e95310d892c3a25d53e757f437b0dab308d04b74a16692 - 0.02% (396 KB)
[#031] sha256:aa73b9cd119ff98bd1dfd156d0931e067eb8b52cb6806e9697e598836c99a12a - 0.0% (4.53 KB)
[#032] sha256:00f1124771d2392fbd69a11cd8a7a7a3505dea4dd04c3b4adf39786460d09e0b - 0.0% (1.32 KB)
[#033] sha256:df234bce2689862e3a9a5b7e383b3e5fe8bf8bd1ceaf67cfbc6798460c0cd2d6 - 0.0% (1.29 KB)
Apply image 10.0.17763.3887
2023-01-12 01:43:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2023-01-24 18:27:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-17.0.6+10
2023-01-24 18:28:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.6%2B10/OpenJDK17U-jdk_x64_windows_hotspot_17.0.6_10.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.6%2B10/OpenJDK17U-jdk_x64_windows_hotspot_17.0.6_10.msi ; Write-Host ('Verifying sha256 (943152d548f8dd24e3c07e67ddc17262d15dc390197cb4ef330867fe4130e590) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '943152d548f8dd24e3c07e67ddc17262d15dc390197cb4ef330867fe4130e590') { Write-Host 'FAILED!'; exit 1; }; New-Item -ItemType Directory -Path C:\temp | Out-Null; Write-Host 'Installing using MSI ...'; $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome', 'INSTALLDIR=C:\openjdk-17' -Wait -Passthru; $proc.WaitForExit() ; if ($proc.ExitCode -ne 0) { Write-Host 'FAILED installing MSI!' ; exit 1; }; Remove-Item -Path C:\temp -Recurse | Out-Null; Write-Host 'Removing openjdk.msi ...'; Remove-Item openjdk.msi -Force
2023-01-24 18:29:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Verifying install ...'; Write-Host 'javac --version'; javac --version; Write-Host 'java --version'; java --version; Write-Host 'Complete.'
2023-01-24 18:29:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2023-01-27 15:59:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2023-01-27 15:59:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.37.2
2023-01-27 15:59:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=2
2023-01-27 15:59:17 UTC|2 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; $url = $('https://github.com/git-for-windows/git/releases/download/v{0}.windows.{1}/MinGit-{0}.{1}-64-bit.zip' -f $env:GIT_VERSION, $env:GIT_PATCH_VERSION) ; Write-Host "Retrieving $url..." ; Invoke-WebRequest $url -OutFile 'mingit.zip' -UseBasicParsing ; Expand-Archive mingit.zip -DestinationPath c:\mingit ; Remove-Item mingit.zip -Force
2023-01-27 15:59:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=3.1.4
2023-01-27 15:59:26 UTC|3 GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; $url = $('https://github.com/git-lfs/git-lfs/releases/download/v{0}/git-lfs-windows-amd64-v{0}.zip' -f $env:GIT_LFS_VERSION) ; Write-Host "Retrieving $url..." ; Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ; Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ; Remove-Item GitLfs.zip -Force ; & C:\mingit\cmd\git.exe lfs install ; $CurrentPath = (Get-Itemproperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path).Path ; $NewPath = $CurrentPath + ';C:\mingit\cmd' ; Set-ItemProperty -path 'hklm:\system\currentcontrolset\control\session manager\environment' -Name Path -Value $NewPath
2023-01-27 15:59:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2023-01-27 15:59:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2023-01-27 15:59:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2023-01-27 15:59:36 UTC|6 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net accounts /maxpwage:unlimited ; net user "$env:user" /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; Set-LocalUser -Name $env:user -PasswordNeverExpires 1; New-Item -ItemType Directory -Path C:/ProgramData/Jenkins | Out-Null
2023-01-27 15:59:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2023-01-27 15:59:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2023-01-27 15:59:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2023-01-27 15:59:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=3085.vc4c6977c075a
2023-01-27 15:59:46 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 VERSION=3085.vc4c6977c075a user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; Invoke-WebRequest $('https://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/{0}/remoting-{0}.jar' -f $env:VERSION) -OutFile $(Join-Path C:/ProgramData/Jenkins $env:AGENT_FILENAME) -UseBasicParsing ; Invoke-WebRequest $('https://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/{0}/remoting-{0}.jar.sha1' -f $env:VERSION) -OutFile (Join-Path C:/ProgramData/Jenkins $env:AGENT_HASH_FILENAME) -UseBasicParsing ; if ((Get-FileHash (Join-Path C:/ProgramData/Jenkins $env:AGENT_FILENAME) -Algorithm SHA1).Hash -ne (Get-Content (Join-Path C:/ProgramData/Jenkins $env:AGENT_HASH_FILENAME))) {exit 1} ; Remove-Item -Force (Join-Path C:/ProgramData/Jenkins $env:AGENT_HASH_FILENAME)
2023-01-27 15:59:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2023-01-27 15:59:55 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 VERSION=3085.vc4c6977c075a user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; New-Item -Type Directory $('{0}/.jenkins' -f $env:AGENT_ROOT) | Out-Null ; New-Item -Type Directory $env:AGENT_WORKDIR | Out-Null
2023-01-27 16:00:01 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=3.1.4 GIT_PATCH_VERSION=2 GIT_VERSION=2.37.2 VERSION=3085.vc4c6977c075a user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; git config --global core.longpaths true
2023-01-27 16:00:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2023-01-27 16:00:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2023-01-27 16:00:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2023-01-27 16:00:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) 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=3085.vc4c6977c075a org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker-agent org.opencontainers.image.licenses=MIT
2023-02-06 12:14:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL Description=This is a base image, which allows connecting Jenkins agents via JNLP protocols on Windows Vendor=Jenkins Project Version=
2023-02-06 12:14:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2023-02-06 12:14:50 UTC|1 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $output = net users ; if(-not ($output -match $env:user)) { net accounts /maxpwage:unlimited ; net user "$env:user" /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; Set-LocalUser -Name $env:user -PasswordNeverExpires 1 }
2023-02-06 12:14:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:23ea2ce10e0bceda59e076188362af801c116c16d43b5ef35727baf8a7f8998a in C:\ProgramData\Jenkins
2023-02-06 12:14:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2023-02-06 12:14:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENTRYPOINT ["powershell.exe" "-f" "C:/ProgramData/Jenkins/jenkins-agent.ps1"]
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.