Namespace
library
Image / Tag
openjdk:20-ea-18-jdk-windowsservercore-ltsc2022
Content Digest
sha256:9f4b43535c2c74bd6adfb1f660692f58cecb783167b118bf3713bdddb9d77810
Details
Created

2022-10-12 16:40:10 UTC

Size

2.43 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-20

JAVA_SHA256

2957954de0bb9cde44f6893f02d9a175cdcbb470cd3650080bf53f05472fe6b5

JAVA_URL

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

JAVA_VERSION

20-ea+18


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 55.06% (1.34 GB)

[#001] sha256:7ab91661ce2a2a2c14684a2ba0f543a81d7896773f88200b31be0e37c589de38 - 37.53% (934 MB)

[#002] sha256:15e15cecc9c7498ee7335091ed603347777bb2f7810e8b701327779faaae1712 - 0.0% (1.39 KB)

[#003] sha256:a5cbc434576dbff410ee0aa4228c6f0fa038ee64fba58d8b81df98ab5bd3e8e5 - 0.02% (595 KB)

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

[#005] sha256:a71e1244e1a09ac39ec09321d2cf652a948c02d0366d860e30695700811edad3 - 0.02% (513 KB)

[#006] sha256:3b89d2beb154f70c0bb839e18c5aea972af8547b86e7943656825689c663f868 - 0.0% (1.39 KB)

[#007] sha256:8ca0133330c55b43a5b9b2a98b18ceeb150c96f62e57609a5ade907a6d1e3188 - 0.0% (1.35 KB)

[#008] sha256:80c2e59cd26188baba5e5869df51161da90c7e38b65042afcb52bf2e8c6e5cff - 0.0% (1.39 KB)

[#009] sha256:725284b7bb06aabe785a90cf3e99785e21a9bbf53a23f038c1bc23ec26c66cad - 7.37% (184 MB)

[#010] sha256:285ed69fccf0f1c837f1a3d74adc57233741bafa41dab4f45dfba63c9d196622 - 0.0% (1.33 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-10-07 22:13:48 UTC

Install update 10.0.20348.1129

2022-10-11 20:20:35 UTC

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

2022-10-12 16:39:02 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.'

2022-10-12 16:39:03 UTC

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

2022-10-12 16:39:22 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.'

2022-10-12 16:39:23 UTC

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

2022-10-12 16:39:23 UTC

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

2022-10-12 16:39:24 UTC

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

2022-10-12 16:40: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.'

2022-10-12 16:40: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