2021-10-13 18:14:38 UTC
2.17 GB
jdk8u302-b08
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 53.68% (1.17 GB)
[#001] sha256:b03bbc71f9254a4ad2fba472595c859655b9d0cfefa638928416e277e0f0d497 - 38.16% (849 MB)
[#002] sha256:b201e45e5b11128e36517715f5b6ae98e5782737c1b112a5fae2aa83206f57bf - 0.0% (1.4 KB)
[#003] sha256:959526671980de3a70bbb44826ffa937113eb9621a53086405d5454ad73df83c - 0.0% (1.36 KB)
[#004] sha256:2cabdde2bc51aed066efee4cfba184848ca46aea6f6fa6c81d8be8c2e38bd54f - 8.13% (181 MB)
[#005] sha256:824b588cfaa5f45a0a83d7757513642cb8459d5c1ecf60c4d24548e1a109baad - 0.02% (549 KB)
Apply image 2022-RTM-amd64
2021-10-07 11:33:56 UTCInstall update ltsc2022-amd64
2021-10-13 12:26:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-10-13 18:13:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk8u302-b08
2021-10-13 18:14:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08.1/OpenJDK8U-jdk_x64_windows_hotspot_8u302b08.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08.1/OpenJDK8U-jdk_x64_windows_hotspot_8u302b08.msi ; Write-Host ('Verifying sha256 (fe3546a8e8dd7d4e929028ef3794431748caddf7fc1cf481618e8d6f8aa15427) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne 'fe3546a8e8dd7d4e929028ef3794431748caddf7fc1cf481618e8d6f8aa15427') { 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-8' -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-10-13 18:14:38 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.'
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.