2022-01-12 05:11:13 UTC
2.23 GB
C:\openjdk-19
JAVA_SHA256d76667c6d142d73576ea27adc9849ccd7f116011bbb4f22c7f0a76635d3a2901
JAVA_URLhttps://download.java.net/java/early_access/jdk19/4/GPL/openjdk-19-ea+4_windows-x64_bin.zip
JAVA_VERSION19-ea+4
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 52.28% (1.17 GB)
[#001] sha256:9b593686e27e7562a5b0696823307ffa822214cee8bd2eec1075eadad4cb9712 - 39.93% (912 MB)
[#002] sha256:99e0b71ede60d3b2c5b9053bf27e47c0875590991eede49813d849cc660c7551 - 0.0% (1.29 KB)
[#003] sha256:c42ce1d7b7857ac1eb8d4fbf9579f07cf6a89ed47f3a0979451365d92324f699 - 0.03% (630 KB)
[#004] sha256:b3aff587b21f31d2c01622cca482ab4ce1034e72ec67fe0a67894e20119fc654 - 0.0% (1.36 KB)
[#005] sha256:7b01c57c266a512234c3cad7efd226645be4c579a3d14e556c78c5aa280c06f2 - 0.02% (539 KB)
[#006] sha256:39723ecca756aeb7ff1c172bc833a42ee65c24010d6c0395167e777158158831 - 0.0% (1.39 KB)
[#007] sha256:46abaa599120b54bad069c2d33b1fbe0f45fc8b7c7306e6b66fd7dd47a12d14b - 0.0% (1.39 KB)
[#008] sha256:65afed6c38928bb44b52e033e7c96d1b575f302bb2f49f07669610c6078abca6 - 0.0% (1.38 KB)
[#009] sha256:b0ba3e8fe055e2eca37b02993ae0385d6c878f868991687720ca48e8ad3e5ed0 - 7.74% (177 MB)
[#010] sha256:3315ad1f1bac7627b5759f0aa8dabba315dabc90c6bbecbcf9bc09f539ad3b2e - 0.0% (1.4 KB)
Apply image 2022-RTM-amd64
2022-01-06 03:56:33 UTCInstall update ltsc2022-amd64
2022-01-11 18:59:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-01-12 05:09:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Enabling TLS 1.2 (https://githubengineering.com/crypto-removal-notice/) ...'; $tls12RegBase = 'HKLM:\\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2'; if (Test-Path $tls12RegBase) { throw ('"{0}" already exists!' -f $tls12RegBase) }; New-Item -Path ('{0}/Client' -f $tls12RegBase) -Force; New-Item -Path ('{0}/Server' -f $tls12RegBase) -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; Write-Host 'Complete.'
2022-01-12 05:09:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-19
2022-01-12 05:10:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;{1}' -f $env:JAVA_HOME, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath; Write-Host 'Complete.'
2022-01-12 05:10:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=19-ea+4
2022-01-12 05:10:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk19/4/GPL/openjdk-19-ea+4_windows-x64_bin.zip
2022-01-12 05:10:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=d76667c6d142d73576ea27adc9849ccd7f116011bbb4f22c7f0a76635d3a2901
2022-01-12 05:11:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:JAVA_URL -OutFile 'openjdk.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; New-Item -ItemType Directory -Path C:\temp | Out-Null; Expand-Archive openjdk.zip -DestinationPath C:\temp; Move-Item -Path C:\temp\* -Destination $env:JAVA_HOME; Remove-Item C:\temp; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Verifying install ...'; Write-Host ' javac --version'; javac --version; Write-Host ' java --version'; java --version; Write-Host 'Complete.'
2022-01-12 05:11:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2022-01-12 05:15:27 UTC
2.7 GB
C:\openjdk-19
JAVA_SHA256d76667c6d142d73576ea27adc9849ccd7f116011bbb4f22c7f0a76635d3a2901
JAVA_URLhttps://download.java.net/java/early_access/jdk19/4/GPL/openjdk-19-ea+4_windows-x64_bin.zip
JAVA_VERSION19-ea+4
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 59.29% (1.6 GB)
[#001] sha256:635f15ebd5b486e8a00bf217a0574a29550e5bbf08c1d021e1e308100b2e49b5 - 34.3% (948 MB)
[#002] sha256:3a70d5fd54e2005efbf590b48700ed40509210354a0d8f3f18c3b444a5325896 - 0.0% (1.36 KB)
[#003] sha256:d74f00c66c11971de2e35204e3f42aca9ac77b3dba4dcd545130bea41c91fd27 - 0.01% (338 KB)
[#004] sha256:327ffaefff991cf2fe273931958209ea8e54093032ace7748ca229ad6be7a66d - 0.0% (1.38 KB)
[#005] sha256:c26fc100c3d9f2f8260f46a4a1aff08f3c8a0d9fd5f1ce2319b7d30e73018d3e - 0.01% (296 KB)
[#006] sha256:c59ceeff8dddf63e3e495cb34d9e16fe5b34fc5947f972cf05edf631d5c58c67 - 0.0% (1.38 KB)
[#007] sha256:274de986412e28424ad2eed344316ba3916ba1062ce47fd712e1fba489cbe7ad - 0.0% (1.36 KB)
[#008] sha256:44dc5334dfe8c1bb305700ad1e08d6cb780ba597b83fc4581195fda06909b853 - 0.0% (1.39 KB)
[#009] sha256:87f2d0b75b36ecda928adcc18e2370d5cb36002f23936c010a7550410acc4d95 - 6.39% (177 MB)
[#010] sha256:0292033a5384c759476361cc952ccde74b2772ef48b6bfa20f719e31668cabd8 - 0.0% (1.35 KB)
Apply image 1809-RTM-amd64
2022-01-07 22:48:13 UTCInstall update 1809-amd64
2022-01-12 05:11:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-01-12 05:12:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Enabling TLS 1.2 (https://githubengineering.com/crypto-removal-notice/) ...'; $tls12RegBase = 'HKLM:\\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2'; if (Test-Path $tls12RegBase) { throw ('"{0}" already exists!' -f $tls12RegBase) }; New-Item -Path ('{0}/Client' -f $tls12RegBase) -Force; New-Item -Path ('{0}/Server' -f $tls12RegBase) -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; Write-Host 'Complete.'
2022-01-12 05:12:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-19
2022-01-12 05:13:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;{1}' -f $env:JAVA_HOME, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath; Write-Host 'Complete.'
2022-01-12 05:13:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=19-ea+4
2022-01-12 05:13:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk19/4/GPL/openjdk-19-ea+4_windows-x64_bin.zip
2022-01-12 05:13:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=d76667c6d142d73576ea27adc9849ccd7f116011bbb4f22c7f0a76635d3a2901
2022-01-12 05:15:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:JAVA_URL -OutFile 'openjdk.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; New-Item -ItemType Directory -Path C:\temp | Out-Null; Expand-Archive openjdk.zip -DestinationPath C:\temp; Move-Item -Path C:\temp\* -Destination $env:JAVA_HOME; Remove-Item C:\temp; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Verifying install ...'; Write-Host ' javac --version'; javac --version; Write-Host ' java --version'; java --version; Write-Host 'Complete.'
2022-01-12 05:15:27 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.