2024-06-03 19:02:32 UTC
2.16 GB
C:\openjdk-23
JAVA_SHA25631f40e7502496063307f37470402eeb3c2e5a3ee3babece396655f9e0056c8b1
JAVA_URLhttps://download.java.net/java/early_access/jdk23/25/GPL/openjdk-23-ea+25_windows-x64_bin.zip
JAVA_VERSION23-ea+25
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 59.86% (1.29 GB)
[#001] sha256:ba03114511317f14392dd2ac806678d1f79c73a8a7e0bc64013540e54c22020f - 31.22% (691 MB)
[#002] sha256:540a0354b3436f736d77efebc2e96cfd569f232bf0f16440b16e7b4f8bdab5ec - 0.0% (1.26 KB)
[#003] sha256:bdc7b64aa26cbdea5cb89ab2f8af4799dc4e51b7b799207e9ae74838923bbde5 - 0.02% (343 KB)
[#004] sha256:510645546c3e41b327e88d54f7f6f5d8706fa572ac73bb06a804b1112374aae5 - 0.0% (1.26 KB)
[#005] sha256:23d655cf89f8f4243af0f3fc20ca797de27bd42f0a88f808a1cbf728e3d91957 - 0.01% (294 KB)
[#006] sha256:fcb35852b6a96888a55fc17e3b28335133e4d748ba8a6842762f378a0786ea68 - 0.0% (1.27 KB)
[#007] sha256:de4d870d49f9f867a16a9592c6e4c03a2e9ef7f1325fa7d0789a73baf1d3ede3 - 0.0% (1.26 KB)
[#008] sha256:2e1451c1d769179e0460029bc4ddd122b12a63a99ace9d6d6664e981c5bbbc63 - 0.0% (1.27 KB)
[#009] sha256:0554bf5730b63e015528a1e9ccdeeb5bef9bee34fec2435684a0ad4875704219 - 8.89% (197 MB)
[#010] sha256:946112fa51cae28a1f8e886ee6dcaf07acea6be2bd7f1908b17c50f885cc48ba - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-05-10 20:40:01 UTCInstall update 10.0.20348.2461
2024-06-03 19:00:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-06-03 19:01:51 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.'
2024-06-03 19:01:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-23
2024-06-03 19:02:00 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.'
2024-06-03 19:02:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=23-ea+25
2024-06-03 19:02:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk23/25/GPL/openjdk-23-ea+25_windows-x64_bin.zip
2024-06-03 19:02:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=31f40e7502496063307f37470402eeb3c2e5a3ee3babece396655f9e0056c8b1
2024-06-03 19:02:31 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.'
2024-06-03 19:02:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-06-03 19:05:07 UTC
2.22 GB
C:\openjdk-23
JAVA_SHA25631f40e7502496063307f37470402eeb3c2e5a3ee3babece396655f9e0056c8b1
JAVA_URLhttps://download.java.net/java/early_access/jdk23/25/GPL/openjdk-23-ea+25_windows-x64_bin.zip
JAVA_VERSION23-ea+25
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 69.16% (1.54 GB)
[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 22.17% (505 MB)
[#002] sha256:b84bf49e635feeec97c29cb76250f0aa73164a0b775d8bf37fc5f47416d2684e - 0.0% (1.25 KB)
[#003] sha256:e142f5cd2963b48de3572e1a5da7b9f93bb508d80e49a9ce22f68b9588d70384 - 0.02% (486 KB)
[#004] sha256:fd67751d4b5e5d8dcb6550d9988a25cfb30f9367ec1a35fadaf6e18fd511f4ec - 0.0% (1.27 KB)
[#005] sha256:96d38e15e9df51ca2e7674f67b71b8b48bc9e16ae91f910460fcc68bc9eaa520 - 0.01% (304 KB)
[#006] sha256:4c0aa0ccd6cfbf4a22aff98124e3f920108b26cfc4299f6d825a4ffc9f3abe8f - 0.0% (1.26 KB)
[#007] sha256:debe29c46ca1a3eb3015aea711745f4705dab402cff64a0c34b1875364286394 - 0.0% (1.35 KB)
[#008] sha256:d9441508db5c58adce7583f89bf86ae692f1843020f3593ff1f1d8b2b4e8a992 - 0.0% (1.27 KB)
[#009] sha256:d8d748d26448c106e8db20c174d3837f17f18a7836aecdc2bb02d2a612874b58 - 8.64% (197 MB)
[#010] sha256:2617f1a68bef8b3abcdcd5b98dfb871f9a902a69d457e2ea1114cdf469ba4b04 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-05-10 20:46:44 UTCInstall update 10.0.17763.5820
2024-06-03 19:00:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-06-03 19:03:38 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.'
2024-06-03 19:03:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-23
2024-06-03 19:04:01 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.'
2024-06-03 19:04:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=23-ea+25
2024-06-03 19:04:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk23/25/GPL/openjdk-23-ea+25_windows-x64_bin.zip
2024-06-03 19:04:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=31f40e7502496063307f37470402eeb3c2e5a3ee3babece396655f9e0056c8b1
2024-06-03 19:05:06 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.'
2024-06-03 19:05:07 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.