Namespace
library
Image / Tag
openjdk:17.0.1-jdk-windowsservercore-1809
Content Digest
sha256:527c42fde14ef0a79f1d9038451b77325a3d5ec183eaadb9d9920958c4dd3610
Details
Created

2022-01-12 05:34:35 UTC

Size

2.7 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-17

JAVA_SHA256

329900a6673b237b502bdcf77bc334da34bc91355c5fd2d457fc00f53fd71ef1

JAVA_URL

https://download.java.net/java/GA/jdk17.0.1/2a2082e5a09d4267845be086888add4f/12/GPL/openjdk-17.0.1_windows-x64_bin.zip

JAVA_VERSION

17.0.1


Layers

[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 59.35% (1.6 GB)

[#001] sha256:635f15ebd5b486e8a00bf217a0574a29550e5bbf08c1d021e1e308100b2e49b5 - 34.33% (948 MB)

[#002] sha256:3a70d5fd54e2005efbf590b48700ed40509210354a0d8f3f18c3b444a5325896 - 0.0% (1.36 KB)

[#003] sha256:d74f00c66c11971de2e35204e3f42aca9ac77b3dba4dcd545130bea41c91fd27 - 0.01% (338 KB)

[#004] sha256:7014e99f571cfcd24c19fb5a487bf4afe1dcb811f528d65c21725f961e4eaa80 - 0.0% (1.39 KB)

[#005] sha256:42895b59af59e02410c8ddc82959acf091e9ca80ef27db786446fed8b0603c69 - 0.01% (296 KB)

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

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

[#008] sha256:05d99b148200d6a1a2dd13c3a7c53d2ecfa4bd3e5185ba0875e569fbde4b335d - 0.0% (1.39 KB)

[#009] sha256:ada38029f5d04ac6d939528896a5222e9fcffc48fb2675892788a98eb41bba55 - 6.3% (174 MB)

[#010] sha256:b217a5d77b84271c20e2dca6c30b04613cb5eef4cb9fa22fce4c9271feeb4a52 - 0.0% (1.38 KB)


History
2020-05-07 05:09:25 UTC

Apply image 1809-RTM-amd64

2022-01-07 22:48:13 UTC

Install update 1809-amd64

2022-01-12 05:11:27 UTC

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

2022-01-12 05:12:35 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-01-12 05:31:45 UTC

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

2022-01-12 05:32:43 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-01-12 05:32:44 UTC

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

2022-01-12 05:32:45 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/GA/jdk17.0.1/2a2082e5a09d4267845be086888add4f/12/GPL/openjdk-17.0.1_windows-x64_bin.zip

2022-01-12 05:32:46 UTC

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

2022-01-12 05:34:33 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-01-12 05:34:35 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