2018-11-21 10:43:46 UTC
5.52 GB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA25639801db76f04b9f1491b0d0a64258535f14e319a3cd08d3e161b18a6af7a842d
JAVA_OJDKBUILD_VERSION10.0.2-1
JAVA_OJDKBUILD_ZIPjava-10-openjdk-10.0.2-1.b13.ojdkbuild.windows.x86_64.zip
JAVA_VERSION10.0.2
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 68.71% (3.79 GB)
[#001] sha256:900b07d4317229a6e17265974aa1dac7af538380b34f978cbe221403c279c09a - 26.4% (1.46 GB)
[#002] sha256:87926998c696620346cdc0a9a6b8363985c9f433be9759201c3226e8cdf020c1 - 0.0% (1.17 KB)
[#003] sha256:9a102a3df7d886927b6eebc598d60c23e633df5bb3c448cc4890f232b61b72dd - 0.0% (1.17 KB)
[#004] sha256:f003a91f6d334c84a6df640c2787f3e72486e70678a2bdd4fd01342b8d352db0 - 0.09% (4.96 MB)
[#005] sha256:07c23afd282d16d3d4c26d83ed46e123462370b7e1f6cf35a8c6afeca642c8a7 - 0.0% (1.17 KB)
[#006] sha256:f13412e347828ac17cd475b50b7190a67a74d3ad13cdd539489e7c82db71b46e - 0.0% (1.17 KB)
[#007] sha256:0af5f37cf0232e45171686e022807c22f78ad0f190f46a409093aaff66c6e472 - 0.0% (1.17 KB)
[#008] sha256:d12f436d86b238bccdb77a23a7da352e1fe7b44bc82c7bc06e1719f3a5256032 - 0.0% (1.16 KB)
[#009] sha256:5ea93a83c0b68a562f9bc475b70b4ee5bed606a41dbf6b6521b94cb7da868ebf - 4.79% (271 MB)
[#010] sha256:913903a850885c389fdf8dd015f0938e4ff873598e17b54a3fddf1eaa32ac1a4 - 0.0% (1.16 KB)
Apply image 10.0.14393.0
2018-11-12 20:18:49 UTCInstall update 10.0.14393.2608
2018-11-15 10:44:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-11-21 10:39:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-11-21 10:40:39 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-11-21 10:40:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=10.0.2
2018-11-21 10:40:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=10.0.2-1
2018-11-21 10:40:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-10-openjdk-10.0.2-1.b13.ojdkbuild.windows.x86_64.zip
2018-11-21 10:40:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=39801db76f04b9f1491b0d0a64258535f14e319a3cd08d3e161b18a6af7a842d
2018-11-21 10:43:43 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-11-21 10:43:46 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.