Namespace
library
Image / Tag
openjdk:22-ea-21-windowsservercore-ltsc2022
Content Digest
sha256:277f1f661c1324660ba22b95127808b027f4d5ea32a27aa49761b23b72aea366
Details
Created

2023-10-28 01:15:47 UTC

Size

1.92 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-22

JAVA_SHA256

afd96ebc47e8681ed848af5055604a81fc4d42b0153541923f3cc49fd0eb36fb

JAVA_URL

https://download.java.net/java/early_access/jdk22/21/GPL/openjdk-22-ea+21_windows-x64_bin.zip

JAVA_VERSION

22-ea+21


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 67.4% (1.29 GB)

[#001] sha256:e3d2471a50c8ec3ea61c16dd871f7b9167bf779faad2b6e5a6f72a18b88b846b - 22.87% (449 MB)

[#002] sha256:2a73b90f34f44bbbb354af4f3d4cc6cde597d2f5183641e139f7ca8b76ec3bb9 - 0.0% (1.26 KB)

[#003] sha256:71221770428be33fb112dc7596eb2857d0a894b9444c8ac1e070fb2713cf0cef - 0.02% (428 KB)

[#004] sha256:4d7edf8e3cbf42462ac6609acad01b5456938cdcc07b096dfebda103810e262f - 0.0% (1.39 KB)

[#005] sha256:935ab285e7bf5c8a65c15bf37e24c811dc80f14c18753ee554d67b2924e05265 - 0.01% (246 KB)

[#006] sha256:8cead219de823db0c49212d4cfed097e5226f4327a1226eb5de6c488f6ee029e - 0.0% (1.37 KB)

[#007] sha256:6214b5372aaa925299e06bd9acca1d95be5fc8db11a051e4606e035306d99720 - 0.0% (1.36 KB)

[#008] sha256:691a3d68bda27e78dc79437c60b78d33415460f3731a9976f0abe96d4b960481 - 0.0% (1.36 KB)

[#009] sha256:a7b8227f0c954638caffe158fa7576c6ceefa4ae1e3db91f2de2d2fb40ee32f7 - 9.69% (190 MB)

[#010] sha256:a7ad8854c6b834dd1f528f30784ba877df178a5969f69d62097bbcecd41632f4 - 0.0% (1.35 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2023-10-06 21:59:31 UTC

Install update 10.0.20348.2031

2023-10-11 01:35:10 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]

2023-10-11 03:48:56 UTC

powershell -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.'

2023-10-11 03:48:57 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-22

2023-10-11 03:49:19 UTC

powershell -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.'

2023-10-28 01:15:01 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=22-ea+21

2023-10-28 01:15:02 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk22/21/GPL/openjdk-22-ea+21_windows-x64_bin.zip

2023-10-28 01:15:03 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=afd96ebc47e8681ed848af5055604a81fc4d42b0153541923f3cc49fd0eb36fb

2023-10-28 01:15:46 UTC

powershell -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.'

2023-10-28 01:15:47 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]

Danger Zone
Delete Tag

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.

Delete