2018-07-11 09:40:55 UTC
5.38 GB
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:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.44% (3.79 GB)
[#001] sha256:fb1ebf2c42b6ac63b874d36a405b413fdf6c314131c3605d77e3cee6f485881f - 24.56% (1.32 GB)
[#002] sha256:b678e902d6e9a27ab4d61bef7b26997ea26fdec2575d1317c9eab3b31c61fd9b - 0.0% (1.17 KB)
[#003] sha256:5df0b7da96ba2f6f9998af410e0e83095c74f65e14e44e196fa7ca34b34b20e7 - 0.0% (1.17 KB)
[#004] sha256:43557e5ace1974f8b220d16ea7c7a0b225327d94c023252ebc95b6847a042201 - 0.09% (4.81 MB)
[#005] sha256:b77b37246e1c1ce88d55dc1db18fce2864c90fd1c5c26994936d5ac7aa568601 - 0.0% (1.17 KB)
[#006] sha256:96256604d955c1777a1224655bad4d3a008c7712db7c266bc826ea8c670d9699 - 0.0% (1.16 KB)
[#007] sha256:22f7c39554f06bb5e5f948360ffe577e08e0cb1ce8ed22dfe156d3f01a3a4b02 - 0.0% (1.17 KB)
[#008] sha256:73cac9a1ab668bed18c4393a39ba4a199c8396d78cbeb08cc638e6c731a3f70a - 0.0% (1.17 KB)
[#009] sha256:70d8ab354f0a841a3f710656e0693a321709a34964bd850144e923acccf39783 - 4.91% (271 MB)
[#010] sha256:cdab98b179130ed9bf81f995dd665a76029fb83ff05486f6d4b6ac0584b04548 - 0.0% (1.17 KB)
Apply image 10.0.14393.0
2018-07-10 21:16:33 UTCInstall update 10.0.14393.2363
2018-07-11 09:36:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-07-11 09:36:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-07-11 09:37:59 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:38:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=10.0.1
2018-07-11 09:38:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=10.0.1-1
2018-07-11 09:38:02 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:38:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=64664f2e28db55022d90beefd097779c59f843cacf1afeed8a7456ee64c603f1
2018-07-11 09:40:53 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); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; 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:40:55 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.