2018-05-10 09:58:30 UTC
583 MB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA2561333ab5bccc20e9043f0593b001825cbfa141f0e0c850d877af6b8e2c990cb47
JAVA_OJDKBUILD_VERSION9.0.4-1
JAVA_OJDKBUILD_ZIPjava-9-openjdk-9.0.4-1.b11.ojdkbuild.windows.x86_64.zip
JAVA_VERSION9.0.4
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 41.31% (241 MB)
[#001] sha256:58518d66816013a4ae1ec4ef454beff05e957b515f6c364b45fe76b8a527e022 - 26.95% (157 MB)
[#002] sha256:5103fe12c5d5b7e7e3ac7c4ccd5eb2bb702cda6e059223bed89c8286737936de - 0.0% (926 Bytes)
[#003] sha256:250d5a4932e67d69cd5c1b42383010827baf5e6b0557acd9c647a5b0d9dd9c15 - 0.15% (899 KB)
[#004] sha256:2f39f3ab0ea78fece3ac891e614456acffdfb12922ad4d9c772037a0e4ddcc28 - 0.0% (941 Bytes)
[#005] sha256:30797e4f650cc90c40482b74bd189fdd8d6ebea9c4f40de9fa5c7813797cb17a - 0.14% (814 KB)
[#006] sha256:6dda6fd19f57bbe843ffe84f47f5db3efd5d2bb1e65331123927e8fef28e5424 - 0.0% (954 Bytes)
[#007] sha256:6703f2536bd5b0d1be16f9a6554b2d19512ce56a098f2a6828e437f5e2929ef1 - 0.0% (951 Bytes)
[#008] sha256:16e3da18bd5cab4a4095d1a079962ab74fa30eafe988c5b189ee338651241bfd - 0.0% (942 Bytes)
[#009] sha256:b8b033e0366a61bfa8fddf925115fad7b75e1a4b23cb023bdc579ad6d2b7d348 - 0.0% (948 Bytes)
[#010] sha256:74d3f2f1a70328e9523c048e5e49a853e9413eefb4ea3a4ca661f82d7edaf348 - 31.46% (184 MB)
[#011] sha256:e6c34fbc4fb3adf35adc18007c192618e54c9d8f88c3315c0077b49225d57429 - 0.0% (925 Bytes)
Apply image 10.0.14393.0
2018-05-07 18:11:43 UTCInstall update 10.0.14393.2248
2018-05-10 09:55:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-05-10 09:56:21 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-05-10 09:56:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-05-10 09:56:44 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-05-10 09:56:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=9.0.4
2018-05-10 09:56:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=9.0.4-1
2018-05-10 09:56:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-9-openjdk-9.0.4-1.b11.ojdkbuild.windows.x86_64.zip
2018-05-10 09:56:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=1333ab5bccc20e9043f0593b001825cbfa141f0e0c850d877af6b8e2c990cb47
2018-05-10 09:58:28 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-05-10 09:58:30 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.