Namespace
library
Image / Tag
openjdk:22-jdk-windowsservercore
Content Digest
sha256:958a98eb3aa615d574365a8416a0be3451c21c557eb57278b7148a6cb70a4a67
Details
Created

2024-03-13 00:07:18 UTC

Size

2.01 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-22

JAVA_SHA256

8f5138fecb53c08c20abd4fa6812f9400051f3852582a2142ffda0dff73a5824

JAVA_URL

https://download.java.net/java/GA/jdk22/830ec9fcccef480bb3e73fb7ecafe059/36/GPL/openjdk-22_windows-x64_bin.zip

JAVA_VERSION

22


Layers

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

[#001] sha256:a61557bf66429be9509f579104808d2853f8f7aefbd49ef26f5f2a90266c46f5 - 26.38% (543 MB)

[#002] sha256:1392e591f7dd90d7bc06845f20be29974ddd33bb87083ea9ed0fa69e71418416 - 0.0% (1.26 KB)

[#003] sha256:47f51d76125bf17d7fddecb3f4b463687d8b0b1b9798652636130760c11c3200 - 0.02% (486 KB)

[#004] sha256:9025434398ba60d42b740f18d406748635184644e69b1d900b49b1abfb259e01 - 0.0% (1.26 KB)

[#005] sha256:410b1d84c5143d72c4df174a364b998109515d1df5b4c21521d2b73863d8510f - 0.02% (339 KB)

[#006] sha256:bb0a9ba6af2250e2344c1ef177a138d883ce5ce9b9180020cb600cbc0f0b77e1 - 0.0% (1.3 KB)

[#007] sha256:c99168b053f64a908df82e4e01d06036cf978b53b889210b0c78fc396f676fb7 - 0.0% (1.29 KB)

[#008] sha256:abac1969939bb3377d671ec7b00f09ed871c6ddee35a8df87fb28b77ecfde14f - 0.0% (1.26 KB)

[#009] sha256:7a0cead67f2bc4f13e621584ea6cfa8a795ce54c0055444f8d5a580b14645ad9 - 9.17% (189 MB)

[#010] sha256:e4e9ec73892c3386ae66f48ca1e6af7069d165b4f61da2cfe7c7a0fd7c5466f3 - 0.0% (1.26 KB)


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

Apply image 10.0.20348.1787

2024-03-05 19:55:40 UTC

Install update 10.0.20348.2340

2024-03-13 00:06:32 UTC

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

2024-03-13 00:06:48 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.'

2024-03-13 00:06:49 UTC

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

2024-03-13 00:06:55 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.'

2024-03-13 00:06:56 UTC

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

2024-03-13 00:06:56 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/GA/jdk22/830ec9fcccef480bb3e73fb7ecafe059/36/GPL/openjdk-22_windows-x64_bin.zip

2024-03-13 00:06:57 UTC

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

2024-03-13 00:07:17 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.'

2024-03-13 00:07:18 UTC

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

Details
Created

2024-03-13 00:08:14 UTC

Size

2.16 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-22

JAVA_SHA256

8f5138fecb53c08c20abd4fa6812f9400051f3852582a2142ffda0dff73a5824

JAVA_URL

https://download.java.net/java/GA/jdk22/830ec9fcccef480bb3e73fb7ecafe059/36/GPL/openjdk-22_windows-x64_bin.zip

JAVA_VERSION

22


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 71.03% (1.54 GB)

[#001] sha256:a22a88a4a0d197cb745939f382a7898094af0a089fce3173f283651a01da996b - 20.42% (452 MB)

[#002] sha256:af8a15734c0eaec184cda3413f2571154d9bb80bf601da921d83dd4a706f1ab4 - 0.0% (1.27 KB)

[#003] sha256:d116fd28edfe867fbeb6b0d96dcb2644e35555fa1755edb08118b0d6ad3e288a - 0.02% (491 KB)

[#004] sha256:4d859574128f0ca1278e8047c236a00be3638a162f547d3d73f0a2516c11533d - 0.0% (1.27 KB)

[#005] sha256:7de71e0a000e3174e22fde939bddb653ca9788a280e310863b125205ebf0fd3c - 0.02% (346 KB)

[#006] sha256:6e215510ccb449cfca569d0cebd98d0d50ebbd2c13319fa2b31a37bb9e5090ce - 0.0% (1.29 KB)

[#007] sha256:608b300cd6072c1cddd49cab29b228d761d71b17eef5915171eb9ddd90aab02e - 0.0% (1.27 KB)

[#008] sha256:3c3012331e0199a29bba0f7cfdd6db888bfc1bc02bbca3e3e91bf0e91b20cc6f - 0.0% (1.26 KB)

[#009] sha256:7a748726622a545777d3127c34d8cdaabe2aab21f44bc479b3960106d2af3f6b - 8.51% (189 MB)

[#010] sha256:592104761c6adf65d0857211221d2b07a7299ce86224bee59d9c010146098f6f - 0.0% (1.27 KB)


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-03-04 01:18:21 UTC

Install update 10.0.17763.5576

2024-03-13 00:06:07 UTC

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

2024-03-13 00:06: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.'

2024-03-13 00:06:57 UTC

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

2024-03-13 00:07:24 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.'

2024-03-13 00:07:25 UTC

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

2024-03-13 00:07:25 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/GA/jdk22/830ec9fcccef480bb3e73fb7ecafe059/36/GPL/openjdk-22_windows-x64_bin.zip

2024-03-13 00:07:26 UTC

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

2024-03-13 00:08:13 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.'

2024-03-13 00:08:14 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