Namespace
library
Image / Tag
openjdk:21-ea-20-windowsservercore-ltsc2022
Content Digest
sha256:b5a64f600fe8a53aa2ca4c110812349ec05ea1e78eac79b898d615b094ba3b0d
Details
Created

2023-04-28 23:22:55 UTC

Size

1.83 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-21

JAVA_SHA256

dc727dbfd5ff51240f3a0ad00070f93bd419d9ca6b439699027e809bb1515a65

JAVA_URL

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

JAVA_VERSION

21-ea+20


Layers

[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 70.69% (1.29 GB)

[#001] sha256:f4ecfa9c953d28a9da9d422b57cd0361c57c44e1faaaed7e50a2537d1c29cee1 - 19.2% (359 MB)

[#002] sha256:98474c9b39bb0e3a2d79dca81a90952011b65d1fa352021dacd30335d1bb69f4 - 0.0% (1.4 KB)

[#003] sha256:4e5267a6534dbac53b3d9701ccd066e434901994c544b2dab38b384ba337c288 - 0.04% (739 KB)

[#004] sha256:cec944a3e06641c097fd1420f03d6ca79e689d4e7e7567d6d5220e5722f63c4b - 0.0% (1.41 KB)

[#005] sha256:be0fe5145f5a0cc66a5c1d0123eeea45b9ec36dfa42ccfe03d869d89a7bd8416 - 0.03% (518 KB)

[#006] sha256:9696eeb27d0712d596c6f937cec461851d119afc3a71254fef13cec7e06311df - 0.0% (1.38 KB)

[#007] sha256:79212cd70d18fe0bf88bb0149ecd0c0a0ceafc5cb4311809e5db74485bb3832f - 0.0% (1.39 KB)

[#008] sha256:346bfd9ccfa4061cfc2f721bfe60e4c0b899ba51e895136c8949c885acbc1ffd - 0.0% (1.38 KB)

[#009] sha256:995b15b87d02b120525bf86a8653e876a54fff78966585042f2665e91a7d0b0b - 10.04% (188 MB)

[#010] sha256:cb665090d9f383646edeb89e0f029ecd956a6daa9973e26994daa4e4b3cfdc65 - 0.0% (1.36 KB)


History
2023-01-06 23:47:40 UTC

Apply image 10.0.20348.1487

2023-04-05 00:38:27 UTC

Install update 10.0.20348.1668

2023-04-11 23:37:41 UTC

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

2023-04-11 23:38:34 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-04-11 23:38:35 UTC

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

2023-04-11 23:39:38 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-04-28 23:22:05 UTC

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

2023-04-28 23:22:06 UTC

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

2023-04-28 23:22:06 UTC

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

2023-04-28 23:22:53 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-04-28 23:22:55 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