2024-11-14 20:23:28 UTC
2.44 GB
jdk-11.0.25+9
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 55.73% (1.36 GB)
[#001] sha256:5987a3191d90ca1e07fd03dae1963abcaa49ceabc649ec3bc43f2c96b55d0464 - 30.12% (754 MB)
[#002] sha256:83d221845f25b9070adb65d502f0dc34c76e2e467c0e77e2946347616c0fbc1b - 0.0% (1.25 KB)
[#003] sha256:9b751acd74e2a16899a3899bc7d492bc093b15132fcc35190f0e3704922a8c8b - 0.0% (1.26 KB)
[#004] sha256:4a167c0e947278a7c34e50add3b3041457109d1027bd84b9cf44baedcf00a0ff - 14.14% (354 MB)
[#005] sha256:1c0e92af803566e3409d74fa8a456824735e0ed0c3edd589b2b2aa9755bebeb4 - 0.01% (362 KB)
[#006] sha256:522804c11bf44532d99f52046d6e0f71cce4ea99c20d02c6804803927f9ab974 - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2024-11-02 23:52:43 UTCInstall update 10.0.20348.2849
2024-11-14 20:22:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-11-14 20:22:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk-11.0.25+9
2024-11-14 20:23:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jdk_x64_windows_hotspot_11.0.25_9.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jdk_x64_windows_hotspot_11.0.25_9.msi ; Write-Host ('Verifying sha256 (497d6959470a72c443bb0cfb1af5d0a11689bab8dbe4c21c29f55f453d81d860) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '497d6959470a72c443bb0cfb1af5d0a11689bab8dbe4c21c29f55f453d81d860') { 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
2024-11-14 20:23:27 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.'
2024-11-14 20:23:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
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.