2021-10-12 20:54:49 UTC
2.62 GB
C:/Users/jenkins/Work
JAVA_VERSIONjdk-11.0.10+9
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 60.98% (1.6 GB)
[#001] sha256:aa4f58cd6da1aaf1a0b44d443bd88e7fbe5b0a6f193995a1a61d6bd63990f314 - 23.87% (641 MB)
[#002] sha256:c1c2016a0c39932310297a984860a965e1fb78654b97e9db80f6ed619217cf15 - 0.0% (1.15 KB)
[#003] sha256:7e0b891a85c1e6e8f79def78e64332e5f24a783f8cdc8ce7e22b8778672def31 - 0.0% (1.13 KB)
[#004] sha256:7f2e5cdaf872530e1d523e3c12f9791add0ba2b8cb57c58654e223219fd7ea10 - 13.08% (351 MB)
[#005] sha256:5193168f689834bfe3dd82fc8b8b57657b58f9f157d80060065dff699b169fe8 - 0.0% (1.17 KB)
[#006] sha256:a437fd772b486df2eb121690a1cac94d06c1049c73cab7a8070315ee7ada54dc - 0.0% (1.33 KB)
[#007] sha256:ac2226fa5bc860b262b3fd3615f4eafeea90fd3ad2f1353713600e7a01db2007 - 0.0% (1.3 KB)
[#008] sha256:00427ee071f633dd891945a6f54b4d5b2b9078a4448ba2bdd4ce52da295a6223 - 0.0% (1.3 KB)
[#009] sha256:457053705573ac120aa7097e9b4e2c9196dcaaeb17868de174e95f1549b60130 - 0.0% (1.3 KB)
[#010] sha256:01945ff24b19555634da9629d531bd45e39dda399b6b13867301f5b0e3410eb1 - 0.0% (1.32 KB)
[#011] sha256:1d2a99d014aacd8b254b08785c9eff88d3d37393f013e16b9c6fcb594c02c933 - 1.19% (32 MB)
[#012] sha256:4e1ff9c654918f978d4fc611f3f809943360b5ed7a6e85066d2b68c958bfdd82 - 0.0% (1.3 KB)
[#013] sha256:70f4d6734ae7ed71b16fbd2a12f9ba4fd1749c4246a2f2654882784c77dc575d - 0.33% (8.79 MB)
[#014] sha256:650264830a2d5b25a75e98b4fa2cd1a6e8265883f9aa87339c4920968b2197b1 - 0.0% (1.31 KB)
[#015] sha256:1f8b0b0b8c286b3269b210920a51a92913dca15eef2aac2a111e250b52608fd8 - 0.0% (1.29 KB)
[#016] sha256:50f45fada68e46fbcb1eaf656288cc618809afc934e0fb3c4f6f72034cb9c0d4 - 0.0% (1.29 KB)
[#017] sha256:fad89c04104d99b224704012d87dec4cbcd02e0dd6bde5eb335b90eafaf327f1 - 0.17% (4.52 MB)
[#018] sha256:8db25a817c97d08b1f6aab75e27bde57b89d49dc13122859ed2654114299ff41 - 0.0% (1.29 KB)
[#019] sha256:fc06662aebf207562a6037b87ca1acd052a41e0731804e672e59c34edc441ffb - 0.0% (1.29 KB)
[#020] sha256:e04309aa74bf9be8603d1e37da347f22059096dd6b2f4924bf932c0806301b15 - 0.0% (1.29 KB)
[#021] sha256:852ea17eaffb22fb7c2eb748ac28c7a4bd9f52e4f250ff33fb0cb34487ddf7b5 - 0.22% (5.81 MB)
[#022] sha256:5fe913278970b799a19a330b47b6490dd857b20ad4f8aa65d1363bd5a4cacb66 - 0.0% (1.29 KB)
[#023] sha256:4d509a294b4861278dd169131b2f80b628824bca3ac1ba9575289b24e3cb7882 - 0.17% (4.53 MB)
[#024] sha256:d35ea9c07926537c6f918f48a62bb9fc909c9d3716891d3573d869bef50e26cf - 0.0% (1.3 KB)
[#025] sha256:cd9196a42ca17157a197742ac086770e38ef699d3610cbbb86972a473b83b918 - 0.0% (1.29 KB)
[#026] sha256:2974702142bb4a7a7dcef72d8a60bfd26dda66fd5935db5cc6f2f55c5ceea701 - 0.0% (1.29 KB)
[#027] sha256:1fb6ef4028d348f281de8f9ab68abbc61b40267199dbc73d45ce19586779dee2 - 0.0% (1.3 KB)
[#028] sha256:afccd553a604b76000a2132e611efb461ddcd71c87b81b2db6e6168f2618c6d8 - 0.0% (1.29 KB)
[#029] sha256:d3ee1b62ae3afa0f128a41edd3fc4ef111c299edab681c506cc2b695936abbd4 - 0.01% (344 KB)
[#030] sha256:964bc6c884ceb0078cef4ff4e5b2448e0d6345ff5ae642220cc78a6dbbe2b47f - 0.0% (4.33 KB)
[#031] sha256:e60db617095e692861841eda0974079278a318b53059a9e4a2e37fd1d6d0636e - 0.0% (1.3 KB)
[#032] sha256:e63a092ae4dd65c0acfeddb184a6842376818b1b7b6ba3029db6e08c8f9dc060 - 0.0% (1.3 KB)
Apply image 1809-RTM-amd64
2020-12-04 02:13:01 UTCInstall update ltsc2019-amd64
2021-03-05 11:25:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-03-05 11:29:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.10+9
2021-03-05 11:31:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi ...'); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9.msi -O 'openjdk.msi'; Write-Host ('Verifying sha256 (f12011de94a72e1f14c9e68ce63bdd537aab1bf51eb336eba6d6061bc307baeb) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'f12011de94a72e1f14c9e68ce63bdd537aab1bf51eb336eba6d6061bc307baeb') { Write-Host 'FAILED!'; exit 1; }; New-Item -ItemType Directory -Path C:\temp | Out-Null; Write-Host 'Installing using MSI ...'; Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome' -Wait -Passthru; Remove-Item -Path C:\temp -Recurse | Out-Null; Write-Host 'Removing openjdk.msi ...'; Remove-Item openjdk.msi -Force
2021-03-05 11:31:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2021-10-11 18:35:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-11 18:35:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.9
2021-10-11 18:35:59 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.9
2021-10-11 18:36:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.31.0
2021-10-11 18:36:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2021-10-11 18:36:20 UTC|3 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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}-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-11 18:36:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.13.2
2021-10-11 18:36:28 UTC|4 GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-11 18:36:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-11 18:36:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-11 18:36:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-11 18:36:35 UTC|7 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-11 18:36:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-11 18:36:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:36:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:36:43 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-11 18:36:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-11 18:36:50 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.13.2 GIT_PATCH_VERSION=1 GIT_VERSION=2.31.0 VERSION=4.9 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-11 18:36:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-11 18:36:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-11 18:36:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-12 20:54:42 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=
2021-10-12 20:54:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-12 20:54:48 UTC|1 user=jenkins powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $output = net users ; if(-not ($output -match $env:user)) { Write-Host 'user does not exist?' ; net user $env:user /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; wmic useraccount WHERE Name=$env:user set PasswordExpires=false; }
2021-10-12 20:54:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:96f2873921dc490a8dfff65a9bf389bd658768114c03673a119d463528c1593f in C:\ProgramData\Jenkins
2021-10-12 20:54:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-12 20:54:49 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.