Namespace
library
Image / Tag
openjdk:21-rc-jdk-windowsservercore-ltsc2022
Content Digest
sha256:ad814fb8fb955e4f8ac1740b2e444e709b48b01b39aff4d5be11c53bac532d20
Details
Created

2023-09-13 05:21:10 UTC

Size

1.9 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-21

JAVA_SHA256

5434faaf029e66e7ce6e75770ca384de476750984a7d2881ef7686894c4b4944

JAVA_URL

https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_windows-x64_bin.zip

JAVA_VERSION

21


Layers

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

[#001] sha256:feca8e06011ab171ad74cda49c7c305e791965aef283d5b7c2b987dd5388e6c7 - 22.03% (428 MB)

[#002] sha256:92f40969dbf1e035a6c49e7c40b216960e3ee98ec3b76f76f9fe4498d0110bee - 0.0% (1.28 KB)

[#003] sha256:a8b411249ef1c74d6763984f0b9b085ac311c6e49aba35a7dbbc1d42264a11ba - 0.02% (452 KB)

[#004] sha256:356cafbb83690378d2b5321a71a7676f0d3cdaa85c78464207e8bd68a728044a - 0.0% (1.38 KB)

[#005] sha256:65146080cde20c7b199f9bcc2ba70ee2006d78ead09713738847471584889e46 - 0.01% (269 KB)

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

[#007] sha256:8c42ea48777c2f1c5acb081744a1441d3bf58004682e34ca65d8b665e7cd86c2 - 0.0% (1.41 KB)

[#008] sha256:d96d1dd7c327a05e2dc1b8091c70d6f4ee6c1984c121415822d8a45d9af820de - 0.0% (1.34 KB)

[#009] sha256:c1bfd1ee811e4bdef25ffa1ffe97e6c8dd625b022bc00d1a36d2109ffefad6b5 - 9.74% (189 MB)

[#010] sha256:2f57a7cab1c78f3e9f5de3a8f030b2eed357fe4e749f858394af63adf03b0adf - 0.0% (1.39 KB)


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

Apply image 10.0.20348.1787

2023-09-01 00:43:48 UTC

Install update 10.0.20348.1970

2023-09-13 01:35:30 UTC

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

2023-09-13 05:14:15 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-09-13 05:19:56 UTC

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

2023-09-13 05:20:18 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-09-13 05:20:19 UTC

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

2023-09-13 05:20:20 UTC

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

2023-09-13 05:20:20 UTC

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

2023-09-13 05:21:09 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-09-13 05:21:10 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