2018-07-11 09:48:14 UTC
664 MB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA25664664f2e28db55022d90beefd097779c59f843cacf1afeed8a7456ee64c603f1
JAVA_OJDKBUILD_VERSION10.0.1-1
JAVA_OJDKBUILD_ZIPjava-10-openjdk-10.0.1-1.b10.ojdkbuild.windows.x86_64.zip
JAVA_VERSION10.0.1
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 36.28% (241 MB)
[#001] sha256:d4a9b16fd154d065649f42ee7ac674690d46dbe6ad2398a58166c37c85ca64ed - 23.95% (159 MB)
[#002] sha256:c00083f7064e157d9aa12ed2cde81fc21da017ab3b1d2d05cf45ee282d465ddd - 0.0% (952 Bytes)
[#003] sha256:f9d7a6645036c8c0f4a1d6d442c92a0d6214d2cb7d46da2abc9bcd951455fa57 - 0.13% (909 KB)
[#004] sha256:2bd0ad8d0a8d35c51bbd7a4f1ac2990362b3b6d022d308e7612624b35b34470c - 0.0% (951 Bytes)
[#005] sha256:3dcae2d73248ed8cb8b131362bdf56cf33e83e1a65bcc40aa7a11c8c87a8452b - 0.12% (826 KB)
[#006] sha256:7eb3227181917aa268a6eceffc77927b04e02c8a690a00d2aab597fd2fd49992 - 0.0% (950 Bytes)
[#007] sha256:d58685bcf52d91aa4ba0a5915ead220cc4a1d25f1a53d025c933d09bbf3b7b78 - 0.0% (948 Bytes)
[#008] sha256:e591dd080bcaaa47a01aee070a763aeefb458f7d02e7aadc2d8e28f24ddb3e20 - 0.0% (947 Bytes)
[#009] sha256:4fb1fa071b44365b7b6e030abdab2d9beff820c306decdba1b70a2052cafc5fb - 0.0% (939 Bytes)
[#010] sha256:de1892ad2cd9e7184e9a5077e43037c760252236949a64f22079d0cba0591728 - 39.51% (262 MB)
[#011] sha256:75803cc968e1f84ec47f48211775400bdc556166f653cc4c9122b6e02b987397 - 0.0% (949 Bytes)
Apply image 10.0.14393.0
2018-07-10 21:16:01 UTCInstall update 10.0.14393.2363
2018-07-11 09:44:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-07-11 09:45:40 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
2018-07-11 09:45:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-07-11 09:46:07 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;
2018-07-11 09:46:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=10.0.1
2018-07-11 09:46:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=10.0.1-1
2018-07-11 09:46:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-10-openjdk-10.0.1-1.b10.ojdkbuild.windows.x86_64.zip
2018-07-11 09:46:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=64664f2e28db55022d90beefd097779c59f843cacf1afeed8a7456ee64c603f1
2018-07-11 09:48:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP); Write-Host ('Downloading {0} ...' -f $url); Invoke-WebRequest -Uri $url -OutFile 'ojdkbuild.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_OJDKBUILD_SHA256); if ((Get-FileHash ojdkbuild.zip -Algorithm sha256).Hash -ne $env:JAVA_OJDKBUILD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive ojdkbuild.zip -DestinationPath C:\; Write-Host 'Renaming ...'; Move-Item -Path ('C:\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip$', '')) -Destination $env:JAVA_HOME ; Write-Host 'Verifying install ...'; Write-Host ' java -version'; java -version; Write-Host ' javac -version'; javac -version; Write-Host 'Removing ...'; Remove-Item ojdkbuild.zip -Force; Write-Host 'Complete.';
2018-07-11 09:48:14 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.