2019-02-26 10:27:28 UTC
601 MB
C:\openjdk-13
JAVA_SHA256d71c5f5349d037c330739d4387879a2d6f6d58f4b275f6c2780c163987563cb5
JAVA_URLhttps://download.java.net/java/early_access/jdk13/9/GPL/openjdk-13-ea+9_windows-x64_bin.zip
JAVA_VERSION13-ea+9
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 40.12% (241 MB)
[#001] sha256:6f2071dcd7294537bba55b3061704ef1370748e91982193b9e0fa4ebc114589b - 29.01% (174 MB)
[#002] sha256:1f72e042ba5d72d27b42026712df029a6a160e9acc59f0ec444c96e610f275d3 - 0.0% (956 Bytes)
[#003] sha256:9480a580fcc4eac71262761c837c4002f85e0a7b13e7cacf7f1d2f1a01b231fe - 0.15% (922 KB)
[#004] sha256:1bf772117107201f3620270be39f8f8a3a0890b91491539a5d466efa546b44d8 - 0.0% (952 Bytes)
[#005] sha256:66ca64795c4a470baf8c3ad64701351384aee060dbb9b6d33b65e5045d05a921 - 0.14% (841 KB)
[#006] sha256:24324521236b3abce49f8bb807989a4b4a9b8319d85e724f47798872cbea850a - 0.0% (949 Bytes)
[#007] sha256:178eb299e011a2d9f82762e0864633ebedbab5ad0407718ffd030da183a96f4c - 0.0% (952 Bytes)
[#008] sha256:e6902c278aa2d52051b608fc5fc4aa38179da32812ec1787f0e0128bc29aa7f3 - 0.0% (951 Bytes)
[#009] sha256:a0cd1d0e8cb7d8261066a0c28cc8bbf8fcf2c6f8f5f3c453a017f4a8b02499bd - 30.59% (184 MB)
[#010] sha256:2a9cb2865f9faff6273bbedda15c9e006fccaa53cff06953cc8dd3788f756bab - 0.0% (936 Bytes)
Apply image 10.0.14393.0
2018-10-09 18:02:39 UTCInstall update 10.0.14393.2551
2018-12-25 18:43:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-12-25 18:44:05 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
2019-01-04 10:26:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-13
2019-01-04 10:27:10 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
2019-02-26 10:25:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=13-ea+9
2019-02-26 10:25:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk13/9/GPL/openjdk-13-ea+9_windows-x64_bin.zip
2019-02-26 10:25:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=d71c5f5349d037c330739d4387879a2d6f6d58f4b275f6c2780c163987563cb5
2019-02-26 10:27:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); Invoke-WebRequest -Uri $env:JAVA_URL -OutFile 'openjdk.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; New-Item -ItemType Directory -Path C:\temp | Out-Null; Expand-Archive openjdk.zip -DestinationPath C:\temp; Move-Item -Path C:\temp\* -Destination $env:JAVA_HOME; Remove-Item C:\temp; Write-Host 'Verifying install ...'; Write-Host ' java --version'; java --version; Write-Host ' javac --version'; javac --version; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Complete.'
2019-02-26 10:27:28 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.