2018-04-26 18:07:37 UTC
493 MB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA2567fcd9909173ed19f4ae6c0bba8b32b1e6bece2d49eb9d87271828be8121fc31b
JAVA_OJDKBUILD_VERSION1.8.0.161-1
JAVA_OJDKBUILD_ZIPjava-1.8.0-openjdk-1.8.0.161-1.b14.ojdkbuild.windows.x86_64.zip
JAVA_VERSION8u161
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 48.92% (241 MB)
[#001] sha256:83eec61707e8c8a926a02da0ac7156cf6b64d3630672a6790004f10b87ae805b - 30.06% (148 MB)
[#002] sha256:033b580f09fb20812108124e4c4f15144c9b45cf48e9dbba6bc16956751cd2b6 - 0.0% (950 Bytes)
[#003] sha256:825ee403a96d36e15366e1291ea6eadf1f637706830c9a54eb4899c48a2492d5 - 0.18% (897 KB)
[#004] sha256:db018bcd253afd3c55d1bd53112573b07da5f45dc74686c92f263100bc4dd0c7 - 0.0% (946 Bytes)
[#005] sha256:cd2761dcba475111741e2619d4b9e1a258267b2b49719b83d23e3404b0811a07 - 0.16% (811 KB)
[#006] sha256:d0336ff3dbc411011f41d182d0204b9d21a79acf0ca5936d08004f26eb254bbe - 0.0% (953 Bytes)
[#007] sha256:2b740e191c59224e9a18f5f57bf6b0f2cdc9e613ce8973e0385407cef870b866 - 0.0% (952 Bytes)
[#008] sha256:3a06da4865c86490be43026b59315636066cf864147c9aff8e08c1269205dafb - 0.0% (941 Bytes)
[#009] sha256:7b035f57a6e443fe3af575f6b4a235bad1c3cf42f8cd23192d6ab17302ae8e9e - 0.0% (947 Bytes)
[#010] sha256:eb090fffdb394fd6cd60bb92edbf76d0d49711f6c48de1c2ea22a380bdcd867b - 20.68% (102 MB)
Apply image 10.0.14393.0
2018-04-06 21:37:58 UTCInstall update 10.0.14393.2189
2018-04-11 09:41:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-04-26 17:49:44 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-04-26 17:49:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-04-26 17:50:08 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-04-26 18:06:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u161
2018-04-26 18:06:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=1.8.0.161-1
2018-04-26 18:06:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-1.8.0-openjdk-1.8.0.161-1.b14.ojdkbuild.windows.x86_64.zip
2018-04-26 18:06:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=7fcd9909173ed19f4ae6c0bba8b32b1e6bece2d49eb9d87271828be8121fc31b
2018-04-26 18:07:37 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.';
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.