2021-10-12 18:27:24 UTC
2.88 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk-11.0.12+7
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 55.65% (1.6 GB)
[#001] sha256:a0ddf88812f10c7d6edc858aa9784ff5ca9de4a7bb631909c090090343abd059 - 31.36% (924 MB)
[#002] sha256:92dd43eae724dbe7e9e517c7fded74c5920ae7eb160042055178ceadf1916505 - 0.0% (1.38 KB)
[#003] sha256:ce788feb9aeea314f2ff314f767f80f5b8c72bed0378fe10224022eb94d418a4 - 0.0% (1.25 KB)
[#004] sha256:9063ef0b0d47b843faeaa1cb27aa693f2948ff9abda9f89d67d0c91f5ffa0c0c - 11.84% (349 MB)
[#005] sha256:72192107ea9ec1b2a0fd6ad29fc640fb556c6266b7a3c2be7d4046aa8a2478bb - 0.01% (315 KB)
[#006] sha256:0f3811107e84d31c6bdaefe2ae4cae3e722adb9aad23c6256b96d9e084aa16a9 - 0.0% (1.3 KB)
[#007] sha256:9218fffc10c1493f63e2c786480310e14d958d3e7d788ba4e81c3aa38b91092c - 0.0% (1.32 KB)
[#008] sha256:e055c6e365f8de05c340a90d7a37e4ac241316c12922a11121431262c642c034 - 0.0% (1.33 KB)
[#009] sha256:1755f95a5cebb706f1b1fe91cedde06e6fb81d14c55a183829f40e165da2e2b6 - 0.0% (1.3 KB)
[#010] sha256:414355644209d0fbe8954abb712bea1c64fa603c78e9340ebfd7563e1c129c19 - 0.0% (1.3 KB)
[#011] sha256:4cff007f512f3401c9a482c0a40c6618ac0939743e4158a4e952132706b31df5 - 0.0% (1.33 KB)
[#012] sha256:edba76a0c87f5e9fe7403267f2159d5e7b3e30d5fa0986d91174bbc97a79f4dc - 0.92% (27.2 MB)
[#013] sha256:de74595a67ab1209ffd886bbaecf379272a997795ad25942d2127dcddb107aae - 0.0% (1.32 KB)
[#014] sha256:292e29a28a037e7d1cb1437b3353262c509c55dc328fbdfc5cd93464bbf152ff - 0.14% (4.1 MB)
[#015] sha256:a421e914f76baebe0bd08d2d2ffa164516af6b2d7343d5510d20e584669982ef - 0.0% (1.3 KB)
[#016] sha256:2b42240f5f98207f42119adc0681d53527ef38548693a096e3fbeed9a0645a42 - 0.0% (1.29 KB)
[#017] sha256:18bfd14ec2b739e150c195d57b247300e8f783ea30ffcc128581a8b02cf3956a - 0.0% (1.33 KB)
[#018] sha256:58595621b8b55169ca60032bf54d9b8ab1d1fcadf90cb010feabce89cac1a014 - 0.01% (375 KB)
[#019] sha256:47319993cb9c969014cd859936569dfca6338818ef76266f55a89b208416697d - 0.0% (1.32 KB)
[#020] sha256:4ba08df8ef3100de2bc86b5b62fc7822d15509b428407db9a071b87a2aa5af8f - 0.0% (1.33 KB)
[#021] sha256:3321d6bac45cfee7339f4cb5f644e4088cc778ba48a605ca63179ed7ca643e40 - 0.0% (1.3 KB)
[#022] sha256:94cd45e5d9d5811e614db6a00ffe0ef77493dd69e1d129dc303fb85cbbcfebe7 - 0.06% (1.65 MB)
[#023] sha256:8adafbe9b3398778356bb2035450c992c90c9bd68ae0caed732e39c4fbe4579d - 0.0% (1.3 KB)
[#024] sha256:f2a5b14a6de1832d499a3ba88b956bfbceb3edf1d4c0e20a0c5858d1949deb98 - 0.01% (380 KB)
[#025] sha256:1675d1a34d06e32344f8495a34cf83422ecc447b80979b1703086855ba99c3e5 - 0.0% (1.3 KB)
[#026] sha256:d69f0a4823a8d7654ad16489133e5b6db96adccaac6d91988ad1de461df5c244 - 0.0% (1.31 KB)
[#027] sha256:29260018ecb3e93750193cc2f62812541b8ecb8b2a4f6bb172658d3346991ce4 - 0.0% (1.3 KB)
[#028] sha256:73b098e22a90b5837fad4a16be21d15c71f886cc95b3e2818b2ce28a09123a8b - 0.0% (1.31 KB)
Apply image 1809-RTM-amd64
2021-09-13 04:08:33 UTCInstall update 1809-amd64
2021-09-15 00:29:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-09-15 16:25:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.12+7
2021-09-15 16:27:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7.msi ; Write-Host ('Verifying sha256 (80546d8a36ad0cdf69305f72f42465093b9d0388f45819b05cc640ecd1310b32) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '80546d8a36ad0cdf69305f72f42465093b9d0388f45819b05cc640ecd1310b32') { 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-11' -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
2021-09-15 16:28:00 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.'
2021-09-15 16:28:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2021-10-12 18:26:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-12 18:26:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.10
2021-10-12 18:26:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL Description=This is a base image, which provides the Jenkins agent executable (agent.jar) Vendor=Jenkins project Version=4.10
2021-10-12 18:26:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.33.0
2021-10-12 18:26:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=2
2021-10-12 18:26:38 UTC|3 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.10 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
2021-10-12 18:26:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.13.3
2021-10-12 18:26:49 UTC|4 GIT_LFS_VERSION=2.13.3 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.10 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
2021-10-12 18:26:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-12 18:26:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-12 18:26:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-12 18:27:00 UTC|7 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=2.13.3 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.10 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; 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
2021-10-12 18:27:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-12 18:27:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-12 18:27:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-12 18:27:11 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.13.3 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.10 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)
2021-10-12 18:27:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-12 18:27:22 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.13.3 GIT_PATCH_VERSION=2 GIT_VERSION=2.33.0 VERSION=4.10 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
2021-10-12 18:27:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-12 18:27:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-12 18:27:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-12 18:27:24 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=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
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.