2021-10-12 20:20:56 UTC
406 MB
C:/Users/jenkins/Work
JAVA_HOMEC:\openjdk-11
JAVA_VERSIONjdk-11.0.7+10
PATHC:\Windows\system32;C:\Windows;C:\Program Files\PowerShell;C:\openjdk-11\bin;C:\mingit\cmd
POWERSHELL_DISTRIBUTION_CHANNELPSDocker-NanoServer-1809
POWERSHELL_TELEMETRY_OPTOUT0
PSCORE\PowerShell\pwsh.exe
PSModuleAnalysisCachePathC:\Users\Public\AppData\Local\Microsoft\Windows\PowerShell\docker\ModuleAnalysisCache
ProgramFilesC:\Program Files
WindowsPATHC:\Windows\system32;C:\Windows
[#000] sha256:3585a81ca503e6c63dce938a5606f4171d7461e51000a92054b3f5692786d6c9 - 24.13% (97.9 MB)
[#001] sha256:8ca38a8d47ea639d50620633cbc17d00a908768a94bdc7374807582fbbf3c41f - 0.0% (1.02 KB)
[#002] sha256:5f00c35c62c4cf2303c7da25c4b9eb4f50f72277eb850cd41ff3644f3fa1e071 - 0.0% (1.02 KB)
[#003] sha256:05c0aff3732ec7e9ff1b2cb1c106fda0dcd1b90c8dabacbc9d639298ff11026e - 0.02% (65.7 KB)
[#004] sha256:8dea282bad1f7ab323d5e197d3d973736b2d88774d94a72b50ceaa5a2983544a - 0.0% (1.02 KB)
[#005] sha256:889e29bdbbe2a06a44309a3d9fb94fae65be9283e2182d403e1771e3526143a6 - 23.84% (96.8 MB)
[#006] sha256:7ef166ee9b38a651c90fb1879c200b15f370a252d615f5308e6e738995e0f06c - 0.03% (129 KB)
[#007] sha256:5fc1023b1c49e13d3e2c822217f2c4595d0bdcc63c278825bfbd6acfb64b103c - 0.0% (1.04 KB)
[#008] sha256:bfd753e8ed8194b896884088ba67c6e74bfd27489a5862d18a913f7ea60018b9 - 0.0% (1.01 KB)
[#009] sha256:6e8e9cd134b4fb0eb197c05c2170f9225c48ad9c03e246682f53e21ec8263340 - 0.0% (1.08 KB)
[#010] sha256:45d18e307553473265246054747543d2920a7b1a85467780bf0b4e3285b79fee - 0.0% (1.04 KB)
[#011] sha256:d866727571a80d3483eb420eaf7910415aafa4eb546a7ffadc1a32ec82cf1f90 - 0.0% (1.04 KB)
[#012] sha256:6a282720cae915f29162848905ac14c52d1631fb9bb4443194f11747f3bbe953 - 44.59% (181 MB)
[#013] sha256:29c3fd0af0872c4f277d008d8920af94aa73977e947cf7285fd78dec4269ae0f - 0.0% (1.04 KB)
[#014] sha256:c058d83b1223e4c4089ec4e877594cc7ff2b505759b8ff4ab0d61989c1b9831f - 0.0% (1.06 KB)
[#015] sha256:01b13610e969f71bc0cec5a24e556298102f32e314be7ee235578810ca0d5abb - 0.0% (1.04 KB)
[#016] sha256:d1f2dba4fae6102082ced58ed181595b900dd3543f905466162d3f20f3cae93e - 0.0% (1.08 KB)
[#017] sha256:3afde446d8802070c05f2d7ab7021483fe03ce1d1734b420618d3ba80dc8deed - 5.95% (24.2 MB)
[#018] sha256:29f60ebe4e3c49fe387cfd25cf18b1fd8abbe2bbe6ef27314d5312bcfcc61868 - 0.0% (1.02 KB)
[#019] sha256:21f4044f435dd0aa4ad46ba56a44b314f995168c679f0e72eafc15c20e0beb7f - 1.06% (4.29 MB)
[#020] sha256:c5f71b4311143ad43985b6ceaed34de7c629287d214d9d017eed1d483ee6af2a - 0.0% (1.04 KB)
[#021] sha256:a1ff76850b267f7802f29c96d498a3664287cd29ef3b6676a671bf042bfdb741 - 0.0% (1.04 KB)
[#022] sha256:480fc9b6108cb35b6c93abdc3cd999efd81a5d04a7b28bb28a58c5963ec77f86 - 0.0% (1.04 KB)
[#023] sha256:4122e64da8703614b8eaff2f4286863eaa47d45887cc72f54e54d3f85d55cc8c - 0.0% (1.04 KB)
[#024] sha256:ff97ad94a36287fb73284e58d9aa38423e9ae3bebd9f5935a18d7e3861990de5 - 0.0% (1.04 KB)
[#025] sha256:c8ee745a5bd0748f1eca9e0975c82dc1e2dc908447ec81b86e00c8f4ad461654 - 0.02% (70.8 KB)
[#026] sha256:386c8442d28ccffb92b6a5288ac9128dae7dad7c90d90cfa68f23efff23f79da - 0.0% (1.04 KB)
[#027] sha256:db639097fb5628ca4667122d92519a0dbe6f42cd9930898c89932618fdd8389e - 0.0% (1.05 KB)
[#028] sha256:c23e2310d37b62614ff24c433b8c2413c4e9472e7f50e5afb3690f66e4263621 - 0.0% (1.04 KB)
[#029] sha256:45a55ebe0fc0a3dd153999304439b96ea7e3ecd57066e2ee410134b58abb7289 - 0.33% (1.36 MB)
[#030] sha256:c39eb6be90f4ea83106d91c1fefb111955419c42a1bf1d9d95f9dbc683ae9317 - 0.0% (1.04 KB)
[#031] sha256:bd20e3c4acc8ec36134b3a16da4ad5b0cccec4d3e127cccc17d939289020bf6b - 0.02% (66.3 KB)
[#032] sha256:8a76d57a2c5ef964799941297b0dafd1b42493e4898ae3dbb5129a5388a18f05 - 0.0% (1.04 KB)
[#033] sha256:db8c50dcfb673bd3ab03d2132bad172f45fa7ebe2d21474ccf65918633422433 - 0.0% (1.05 KB)
[#034] sha256:a2d0540cc846c44eea9d1f71b2d101215630c46304564d4493947719b0ef425a - 0.0% (1.04 KB)
[#035] sha256:fe814a8b6275aacb5b1b542ca6889b3422a2aba13d8e08877cd6cd1798a76c11 - 0.0% (1.09 KB)
[#036] sha256:4ae3777aad6f62c1fe5c68e2dbe162d5f321a9a93903e86e80d7092b0ba990d8 - 0.0% (1.04 KB)
[#037] sha256:2d7b3d66ec871c8f78926f73d3d724dcb8f893de7db744cf6ce67f342fba29e2 - 0.0% (1.04 KB)
[#038] sha256:46a0a9581f25dc3d36d6ff7b383dfbda1c92e2a0118ae01b163dcf32911a541d - 0.02% (74.7 KB)
[#039] sha256:b9947306ca9509afcda9c934c1200adf0907655a52ed9f9f2d91d0e1e829f65b - 0.0% (4.09 KB)
[#040] sha256:7b2a7402e0c853e3a48f03249c749080071eb8aadf28059dd0ba874c6a6f0f10 - 0.0% (1.07 KB)
[#041] sha256:1975cd3151520634028dccd956eb2f6d026a04a4dc6fa6f45cf5550aec28bce5 - 0.0% (1.06 KB)
Apply image 1809-amd64
2021-10-05 01:14:57 UTCcmd /S /C #(nop) ENV ProgramFiles=C:\Program Files PSModuleAnalysisCachePath=C:\Users\Public\AppData\Local\Microsoft\Windows\PowerShell\docker\ModuleAnalysisCache PSCORE=\PowerShell\pwsh.exe WindowsPATH=C:\Windows\system32;C:\Windows POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-NanoServer-1809
2021-10-05 01:14:58 UTCcmd /S /C #(nop) USER ContainerAdministrator
2021-10-05 01:15:22 UTCcmd /S /C setx PATH "%PATH%;%ProgramFiles%\PowerShell;" /M
2021-10-05 01:15:22 UTCcmd /S /C #(nop) USER ContainerUser
2021-10-05 01:15:39 UTCcmd /S /C #(nop) COPY dir:ed826dc2ba0e470b41bbd56bcab0a17eb77ada2816498df2e3e5f76d0c048e2b in C:\Program Files\PowerShell
2021-10-05 01:16:17 UTCcmd /S /C pwsh -NoLogo -NoProfile -Command " $stopTime = (get-date).AddMinutes(15); $ErrorActionPreference = 'Stop' ; $ProgressPreference = 'SilentlyContinue' ; while(!(Test-Path -Path $env:PSModuleAnalysisCachePath)) { Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; if((get-date) -gt $stopTime) { throw 'timout expired'} Start-Sleep -Seconds 6 ; }"
2021-10-05 01:16:18 UTCcmd /S /C #(nop) ENV POWERSHELL_TELEMETRY_OPTOUT=0
2021-10-05 01:16:18 UTCcmd /S /C #(nop) CMD ["pwsh.exe"]
2021-10-11 18:58:20 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-11 18:59:02 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.7+10
2021-10-11 18:59:02 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER ContainerAdministrator
2021-10-11 18:59:17 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7%2B10.2/OpenJDK11U-jdk_x64_windows_hotspot_11.0.7_10.zip ...'); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7%2B10.2/OpenJDK11U-jdk_x64_windows_hotspot_11.0.7_10.zip -O 'openjdk.zip'; Write-Host ('Verifying sha256 (61e99ff902e02c83b6c48172968593ee05ae183a39e5ef13a44bd4bf7eb2ce8b) ...'); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne '61e99ff902e02c83b6c48172968593ee05ae183a39e5ef13a44bd4bf7eb2ce8b') { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding Zip ...'; Expand-Archive -Path openjdk.zip -DestinationPath C:\ ; $jdkDirectory=(Get-ChildItem -Directory | ForEach-Object { $_.FullName } | Select-String 'jdk'); Move-Item -Path $jdkDirectory C:\openjdk-11; Write-Host 'Removing openjdk.zip ...'; Remove-Item openjdk.zip -Force
2021-10-11 18:59:17 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION=4.3
2021-10-11 18:59:18 UTCpwsh.exe -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.3
2021-10-11 18:59:18 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_VERSION=2.26.0
2021-10-11 18:59:18 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_PATCH_VERSION=1
2021-10-11 18:59:26 UTC|3 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 pwsh.exe -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:59:26 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG GIT_LFS_VERSION=2.10.0
2021-10-11 18:59:31 UTC|4 GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 pwsh.exe -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
2021-10-11 18:59:32 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV ProgramFiles=C:\Program Files WindowsPATH=C:\Windows\system32;C:\Windows JAVA_HOME=C:\openjdk-11
2021-10-11 18:59:32 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV PATH=C:\Windows\system32;C:\Windows;C:\Program Files\PowerShell;C:\openjdk-11\bin;C:\mingit\cmd
2021-10-11 18:59:32 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-11 18:59:33 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_FILENAME=agent.jar
2021-10-11 18:59:33 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_HASH_FILENAME=agent.jar.sha1
2021-10-11 18:59:35 UTC|7 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 user=jenkins pwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; net accounts /maxpwage:unlimited ; net user "$env:user" /add /expire:never /passwordreq:no ; net localgroup Administrators /add $env:user ; New-Item -ItemType Directory -Path C:/ProgramData/Jenkins | Out-Null
2021-10-11 18:59:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_ROOT=C:/Users/jenkins
2021-10-11 18:59:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:59:36 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV AGENT_WORKDIR=C:/Users/jenkins/Work
2021-10-11 18:59:42 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 user=jenkins pwsh.exe -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:59:42 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-11 18:59:44 UTC|8 AGENT_FILENAME=agent.jar AGENT_HASH_FILENAME=agent.jar.sha1 AGENT_ROOT=C:/Users/jenkins GIT_LFS_VERSION=2.10.0 GIT_PATCH_VERSION=1 GIT_VERSION=2.26.0 VERSION=4.3 user=jenkins pwsh.exe -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:59:45 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/.jenkins]
2021-10-11 18:59:45 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) VOLUME [C:/Users/jenkins/Work]
2021-10-11 18:59:45 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) WORKDIR C:\Users\jenkins
2021-10-12 20:20:48 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG VERSION
2021-10-12 20:20:49 UTCpwsh.exe -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=4.3-8
2021-10-12 20:20:49 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ARG user=jenkins
2021-10-12 20:20:55 UTC|2 VERSION=4.3-8 user=jenkins pwsh.exe -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:20:55 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:301769251ed29c14574f1d82ec7b119bacbdab65fa19dffbd9f969ac48051fa7 in C:\ProgramData\Jenkins
2021-10-12 20:20:56 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) USER jenkins
2021-10-12 20:20:56 UTCpwsh.exe -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENTRYPOINT ["pwsh.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.