Namespace
library
Image / Tag
openjdk:16-windowsservercore-1809
Content Digest
sha256:a6edb6c91c8f9d9ce11c68fa039c55df3afee7c4345f85335fbb0d8a565464a9
Details
Created

2021-10-14 00:49:14 UTC

Size

2.67 GB

Content Digest
Environment
JAVA_HOME

C:\openjdk-16

JAVA_SHA256

9df98be05fe674066cc39144467c47b1503cfa3de059c09cc4ccc3da9c253b9a

JAVA_URL

https://download.java.net/java/GA/jdk16.0.2/d4a915d82b4c4fbb9bde534da945d746/7/GPL/openjdk-16.0.2_windows-x64_bin.zip

JAVA_VERSION

16.0.2


Layers

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

[#001] sha256:c0698cf91ebd6bcfb319be6a50421b356d6a3dbbd213d9b2b9dca0f837d7a999 - 33.76% (923 MB)

[#002] sha256:cc0c4e719f418d49c6a0fb87abd2e0e480c5b6fec1bacc3077cacfad9b4ab3e0 - 0.0% (1.37 KB)

[#003] sha256:3778f0ab9c363534bcf1068a50329066ca025f6499401dd667a232ffdd9687e4 - 0.01% (341 KB)

[#004] sha256:7d5427b694905d6d6d09804a1db38a0b82f64f13b03e7455bc8b055b01219d09 - 0.0% (1.4 KB)

[#005] sha256:3ae4ec65bd080afb62b76e06d690fae9131ea703a1ece1413d98c79097a99111 - 0.01% (303 KB)

[#006] sha256:a1bae148d5edb70207471fd19c8dd987430ccb73d0928764cbc7daae610232ad - 0.0% (1.37 KB)

[#007] sha256:9dcb8c911890f6f507a4fada1c3a915e757e0724d2e011c6264363c86cb5f704 - 0.0% (1.4 KB)

[#008] sha256:d01e9740f58d39e2bbca6832f33ced203e8fecfd22355aa2de72904c7999514b - 0.0% (1.36 KB)

[#009] sha256:5351f79f369ecd8437e918d2d885caac68abda59f95ff2d15685e26bba496daf - 6.29% (172 MB)

[#010] sha256:fb328aa229cd0e369173f960fd2e718e8a0691632daf133759f1d50f5a84d451 - 0.0% (1.4 KB)


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

Apply image 1809-RTM-amd64

2021-10-07 08:25:51 UTC

Install update 1809-amd64

2021-10-13 12:02:56 UTC

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

2021-10-14 00:31:04 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.'

2021-10-14 00:46:34 UTC

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

2021-10-14 00:47: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.'

2021-10-14 00:47:39 UTC

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

2021-10-14 00:47:40 UTC

powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/GA/jdk16.0.2/d4a915d82b4c4fbb9bde534da945d746/7/GPL/openjdk-16.0.2_windows-x64_bin.zip

2021-10-14 00:47:41 UTC

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

2021-10-14 00:49: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.'

2021-10-14 00:49: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