2020-08-21 21:19:36 UTC
5.55 GB
C:\openjdk-16
JAVA_SHA2566f02fb2dc243d1317a288009f9d01c2c2e85df7c226f6d09f861a50f37f9179e
JAVA_URLhttps://download.java.net/java/early_access/jdk16/12/GPL/openjdk-16-ea+12_windows-x64_bin.zip
JAVA_VERSION16-ea+12
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 68.34% (3.79 GB)
[#001] sha256:b2151f69990007e1df0a2a0a68997c72a9ce7546d653d17a482a51cc3323c047 - 28.01% (1.55 GB)
[#002] sha256:32838d9637dc39d4acee78700b0f93d6c8c9d2db755f12c8009c1b51687d3fbd - 0.0% (1.12 KB)
[#003] sha256:138271f8777367b1ff54a3d43137d564baa693e3e0b71305261b35b9720e7779 - 0.17% (9.41 MB)
[#004] sha256:34771dfe42ef423846ebfe01aab83001e3cc7208753079693787f39ae976a049 - 0.0% (1.12 KB)
[#005] sha256:25894be8edb605a7d00928789801b5eaa84815ceb02fd359924f3252fffeae0d - 0.09% (5.1 MB)
[#006] sha256:52a71e94507ed3fe8962303acaf3be780f1009d20099abab348e3c3946c8aedc - 0.0% (1.09 KB)
[#007] sha256:7bbe3a89d540e062a6602265b0feff6553ad49bd482ea9adb8be689131bfaebb - 0.0% (1.1 KB)
[#008] sha256:8daf126b977d13eecaf76b6cebc14cae7f08d88a85f1a251b6c359473d99d93d - 0.0% (1.1 KB)
[#009] sha256:8054e229fa25d7012ab8f6bfa139a865e48faea48d2216912c4b342edfa8f16a - 3.39% (193 MB)
[#010] sha256:f28e19d116e158788bfbaf00afe41e2bad30c7722ace8fc76618d3ca660565fe - 0.0% (1.13 KB)
Apply image 1607-RTM-amd64
2020-08-05 13:27:00 UTCInstall update ltsc2016-amd64
2020-08-11 20:31:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2020-08-12 15:24:16 UTCpowershell -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
2020-08-12 15:24:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-16
2020-08-12 15:25:29 UTCpowershell -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
2020-08-21 21:17:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=16-ea+12
2020-08-21 21:17:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk16/12/GPL/openjdk-16-ea+12_windows-x64_bin.zip
2020-08-21 21:17:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=6f02fb2dc243d1317a288009f9d01c2c2e85df7c226f6d09f861a50f37f9179e
2020-08-21 21:19:35 UTCpowershell -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.'
2020-08-21 21:19:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
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.