2019-06-05 15:14:33 UTC
5.58 GB
86cf932a04dff28e19a5f715cbb8f2c34ce78fa12d30578bcaf7fb46f88a3acb
JAVA_URLhttps://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u212-b03/OpenJDK8U-jdk_x64_windows_hotspot_8u212b03.msi
JAVA_VERSIONjdk8u212-b03
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 67.92% (3.79 GB)
[#001] sha256:953249f92c3ef08a99d71358fd672da16a7dcc44032ff3356502f31ec8a9c0bb - 27.2% (1.52 GB)
[#002] sha256:cf85da77d4b2b9adac1beb08dd83e19686c6ff37baceffb2a9ea2ba226b8b930 - 0.0% (1.18 KB)
[#003] sha256:70ff534641beb04a6311ac96f86b344166bb0f7d42d11d9fd18a5a21172a32bc - 0.0% (1.19 KB)
[#004] sha256:dc253e814757316e2e6d2b3ad30e2d5c61f2071403125a07f0687f8d25b32ca7 - 0.0% (1.18 KB)
[#005] sha256:45a9c913e56f45f892b9fd6b265aa6ed9b98ffbfd77a11ea7298f72fe57d732d - 0.0% (1.19 KB)
[#006] sha256:04808e32c7d408267ef9331e638c5cef71a0ef227688f49a004e824bcb2d2789 - 0.0% (1.18 KB)
[#007] sha256:d2c8a9ba5fcec0a75c26359d49f5f7364dad63e7dcef562dd5e753f1d808a1c9 - 1.56% (89.2 MB)
[#008] sha256:d1dc9fad6d998ba171fa8d2a75b783a8c976490ca8322a54fec52589d3ca6c23 - 3.23% (185 MB)
[#009] sha256:167708da1747e5ad938554301cb3d06cbbbcc8fa830d3719de52a49f6c2cc5e8 - 0.09% (4.97 MB)
Apply image 1607-RTM-amd64
2019-05-18 22:44:29 UTCInstall update ltsc2016-amd64
2019-06-05 15:07:20 UTCcmd /S /C #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2019-06-05 15:07:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2019-06-05 15:07:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk8u212-b03
2019-06-05 15:07:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u212-b03/OpenJDK8U-jdk_x64_windows_hotspot_8u212b03.msi
2019-06-05 15:07:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=86cf932a04dff28e19a5f715cbb8f2c34ce78fa12d30578bcaf7fb46f88a3acb
2019-06-05 15:09:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget $env:JAVA_URL -O 'openjdk.msi'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; New-Item -ItemType Directory -Path C:\temp | Out-Null;
2019-06-05 15:12:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Installing using MSI ...'; Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome' -Wait -Passthru; Write-Host 'Removing ...'; Remove-Item openjdk.msi -Force;
2019-06-05 15:14:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Verifying install ...'; Write-Host ' java -version'; java -version; Write-Host ' javac -version'; javac -version; Write-Host ' JAVA_HOME'; Test-Path $env:JAVA_HOME;
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.