2018-01-05 10:10:47 UTC
5.19 GB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA25653d857727194635546d8af1e9c93ff272b737a46c1a03ef3d99b8078ab4e11f2
JAVA_OJDKBUILD_VERSION9.0.1-1
JAVA_OJDKBUILD_ZIPjava-9-openjdk-9.0.1-1.b01.ojdkbuild.windows.x86_64.zip
JAVA_VERSION9.0.1
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 73.0% (3.79 GB)
[#001] sha256:449343c9d7e2919413898dc8a7e8780ef164b76a3b9dd19de104706edf05113a - 23.39% (1.21 GB)
[#002] sha256:c86d0434e36d69287bea586f96045245d5ee4f04e4e2a5edf6881dbbfdc628c3 - 0.0% (1.17 KB)
[#003] sha256:8043493a566c4b6517006bcc781208f6a6ed6679b087349f1c3abcfbc7c5bbc0 - 0.0% (1.16 KB)
[#004] sha256:9863b66916588215ba59a3ee437280bdacb3e25f890c1f8886ddc754f6ed36b1 - 0.09% (4.7 MB)
[#005] sha256:d931da49980d0d4a417819ae4f1408940fd28e2cda6a4c5dac0baab32713c695 - 0.0% (1.17 KB)
[#006] sha256:4929ef856d4e4bffd6fb5247f0d218e18a21707b917f56565ab377ed4a598d90 - 0.0% (1.17 KB)
[#007] sha256:6ba2be08aa56925cc021618902b262fbc6ab036c8492974b75c5e1bca258dd96 - 0.0% (1.16 KB)
[#008] sha256:5f033c22fc1284318bba76038b7fdf3c4df8af60b0689a22d7f60688b36b9398 - 0.0% (1.17 KB)
[#009] sha256:c8d1aed251f3d14a8324fa037f67ba058fd1003c2baeb3ce100eb4e88fb00f48 - 3.52% (187 MB)
[#010] sha256:e868bf545ce852fdb5ff7215cfc2d98b345b0039ddb355e510a7e36986db083a - 0.0% (1.17 KB)
Apply image 10.0.14393.0
2018-01-04 20:07:32 UTCInstall update 10.0.14393.2007
2018-01-05 10:02:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-01-05 10:02:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-01-05 10:03:43 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-01-05 10:08:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=9.0.1
2018-01-05 10:08:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=9.0.1-1
2018-01-05 10:08:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-9-openjdk-9.0.1-1.b01.ojdkbuild.windows.x86_64.zip
2018-01-05 10:08:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=53d857727194635546d8af1e9c93ff272b737a46c1a03ef3d99b8078ab4e11f2
2018-01-05 10:10:45 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-01-05 10:10:47 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.